Ahh, right, you're the person from that other thread.
chernevik wrote:
I'm running an authoritative name server for a domain of my own off the linode. I find that nslookup doesn't work properly if I don't set "domain" in resolv.conf to that of my domain, and remove the "search" directive in the linode default. I also have to add "nameserver 127.0.0.1" to the list of nameservers, and before any other nameserver directives.
Ehh. You shouldn't need to put your authoritative server in /etc/resolv.conf. That's...really strange.
chernevik wrote:
I don't know how important that nslookup test is, but it's one of the diagnostics in "DNS and BIND" and I'm more comfortable having it work.
If "DNS and BIND" says something should work, it probably should, but that doesn't mean you're going about it the right way.
chernevik wrote:
The manual shows a "supersede" statement that allows designation of values for options; perhaps I ought to use that.
My old dhclient.conf contains:
Code:
supersede domain-name "mydomain.com";
prepend domain-name-servers 127.0.0.1;
among all of the other things.
(I run a local recursive nameserver.)
chernevik wrote:
Or, turn off dhcp entirely. Do I need it? I presume it's in the default installation for some reason.
It's up to you. DHCP configures your networking settings automatically. On a Linode, the settings will change so infrequently that you can set it up manually if you want to, but it's not necessary.