Differences between revisions 4 and 5
Revision 4 as of 2017-12-29 11:26:02
Size: 718
Comment:
Revision 5 as of 2017-12-29 13:09:48
Size: 820
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
=== Adding a Host ===
==== dhcp01 ====
IP-address: 192.168.1.36
{{{
Line 16: Line 20:
dhcp01 }}}

=== Removing a host ===


DNS Updates

Keys

We configured the DNS Servers to allow updates using keys. Those keys need to be 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.

Adding a Host

dhcp01

IP-address: 192.168.1.36

Removing a host

dhcp02

References

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