Auto Register Linux Client in AD (DNS)

Occasionally, I’ll build a prototype server just to kick the tires of some new system or application.  When I do that, I know that it’s a temporary set up and don’t want to spend time setting up a static IP address and registering it.  Fortunately, there’s a way to dynamically register a name with the DHCP server. See the ‘dhclient’ man page for more details but the short of it is:

Make sure the interface is down first:
[root@localhost]# ifconfig eth0 down
then type     

[root@localhost]# dhclient -F

where is your FQDN

Now try

[root@localhost]# nslookup



Tagged with: , ,

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.