Differences between revisions 2 and 3
Revision 2 as of 2017-12-29 11:18:47
Size: 141
Comment:
Revision 3 as of 2017-12-29 11:25:28
Size: 723
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Lets add the dhcp servers == Keys ==
We configured the DNS Servers to allow updates using keys. We need to have those keys available on the system that sends the DNS updates. The keys are already on the DHCP server, so it makes sense to make the DNS updates from the DHCP server.

== nsupdate ==
The utility to make DNS updates is called `nsupdate`. When running it, it takes two important parameters `-v` to send updates by TCP rather than UDP and `-k` to tell it which file the update key is in.

{{{
nsupdate -k /etc/dhcp/ddns-update.kallenberg.dk -v
}}}

You now have a prompt where you can enter the update commands.

DNS Updates

Keys

We configured the DNS Servers to allow updates using keys. We need to have those keys available on the system that sends the DNS updates. The keys are already on the DHCP server, so it makes sense to make the DNS updates from the DHCP server.

nsupdate

The utility to make DNS updates is called nsupdate. When running it, it takes two important parameters -v to send updates by TCP rather than UDP and -k to tell it which file the update key is in.

nsupdate -k /etc/dhcp/ddns-update.kallenberg.dk -v

You now have a prompt where you can enter the update commands.

dhcp01 dhcp02

References

None: DNS Updates (last edited 2018-01-09 23:10:58 by Kristian Kallenberg)