Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here




IS there any way to get a BIND dns server to automatically cache names. For Example if I have CPU1 CPU2 CPU3 and I set up the dns server (NS1 for this example), I want to be able to configure those computers to use NS1 as the dns server but I don't want to go and enter the records for each computer. I want bind to do that automatically when those computers connect. Is there any way to do this other than making bind also a DHCP server?


yes, there is.
1. BIND allowed updates from the DHCP subnet
2. On client computers make sure the connection registers with DNS. In windows it is under TCP/IP, advanced, DNS
DHCP is completely separate from DNS. Nothing prohibits you from running a DHCP server on the same host as DNS.
So what you could be doing, run DHCP server and hand off the same host as the DNS server so these clients will register with it.


okay so how do I allow updates from dhcp to bind?


in the BIND config


thanks not sure what lines to put in but that should be out there some way.


A quick but not necessarily the best way to do that:
Find the part where your zone is defined, something like the code below. The two lines that should do the job for Windows clients are highlighted. Change the zone name, file name, IP subnets.

CODE -->

zone "mydomain.com." IN {
        type master;
        file "mydomaincom.zone";
        allow-update {;; };
        check-names ignore;

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close