@@ -299,41 +299,18 @@ spec:
299
299
- --domain-filter=k8s.example.org
300
300
```
301
301
302
- ## Microsoft DNS (Insecure Updates)
302
+ ## Microsoft DNS
303
303
304
304
While ` external-dns ` was not developed or tested against Microsoft DNS, it can be configured to work against it. YMMV.
305
305
306
- ### Insecure Updates
307
-
308
- #### DNS-side configuration
309
-
310
- 1 . Create a DNS zone
311
- 2 . Enable insecure dynamic updates for the zone
312
- 3 . Enable Zone Transfers to all servers
313
-
314
- #### ` external-dns ` configuration
315
-
316
- You'll want to configure ` external-dns ` similarly to the following:
317
-
318
- ``` text
319
- ...
320
- - --provider=rfc2136
321
- - --rfc2136-host=192.168.0.1
322
- - --rfc2136-port=53
323
- - --rfc2136-zone=k8s.example.org
324
- - --rfc2136-zone=k8s.your-zone.org
325
- - --rfc2136-insecure
326
- - --rfc2136-tsig-axfr # needed to enable zone transfers, which is required for deletion of records.
327
- ...
328
- ```
329
-
330
306
### Secure Updates Using RFC3645 (GSS-TSIG)
331
307
332
308
#### DNS-side configuration
333
309
334
310
1 . Create a DNS zone
335
- 2 . Enable secure dynamic updates for the zone
336
- 3 . Enable Zone Transfers to all servers
311
+ 2 . Enable ** secure** dynamic updates for the zone
312
+ 3 . Enable Zone Transfers to all servers and/or other domains
313
+ 4 . Create a user with permissions to create/update/delete records in that zone
337
314
338
315
If you see any error messages which indicate that ` external-dns ` was somehow not able to fetch
339
316
existing DNS records from your DNS server, this could mean that you forgot about step 3.
@@ -402,7 +379,7 @@ You'll want to configure `external-dns` similarly to the following:
402
379
` ` ` text
403
380
...
404
381
- --provider=rfc2136
405
- - --rfc2136-gss-tsig
382
+ - --rfc2136-gss-tsig
406
383
- --rfc2136-host=dns-host.yourdomain.com
407
384
- --rfc2136-port=53
408
385
- --rfc2136-zone=your-zone.com
@@ -423,6 +400,30 @@ This means that Active Directory might only work if this is set to a specific do
423
400
` KDC_ERR_S_PRINCIPAL_UNKNOWN Server not found in Kerberos database` .
424
401
To fix this, try setting `--rfc2136-host` to the "actual" hostname of your DNS server.
425
402
403
+ # ## Insecure Updates
404
+
405
+ # ### DNS-side configuration
406
+
407
+ 1. Create a DNS zone
408
+ 2. Enable insecure dynamic updates for the zone
409
+ 3. Enable Zone Transfers to all servers and/or other domains
410
+
411
+ # ### `external-dns` configuration
412
+
413
+ You'll want to configure `external-dns` similarly to the following :
414
+
415
+ ` ` ` text
416
+ ...
417
+ - --provider=rfc2136
418
+ - --rfc2136-host=192.168.0.1
419
+ - --rfc2136-port=53
420
+ - --rfc2136-zone=k8s.example.org
421
+ - --rfc2136-zone=k8s.your-zone.org
422
+ - --rfc2136-insecure
423
+ - --rfc2136-tsig-axfr # needed to enable zone transfers, which is required for deletion of records.
424
+ ...
425
+ ` ` `
426
+
426
427
# # DNS Over TLS (RFCs 7858 and 9103)
427
428
428
429
If your DNS server does zone transfers over TLS, you can instruct `external-dns` to connect over TLS with the following flags :
0 commit comments