Almost all non-existent domains resolve to localhost

Barry Margolin barmar at genuity.net
Fri Aug 24 00:20:31 UTC 2001


In article <9m43rp$2d3 at pub3.rc.vix.com>,
≈ chris ≈ <whirlwind at graffiti.net> wrote:
>
>Barry Margolin <barmar at genuity.net> wrote in message
>news:<9m0qp1$74l at pub3.rc.vix.com>...
>> >By the way, is there any way I can re-enable those wildcards without
>> >letting all non-existent domains resolve to local?
>> Reconfigure the client machines so that they don't try to append a default
>> domain suffix.  But this means that they'll have to spell out names in full
>> even when they're in your local domain, i.e. they can't type "hostname" as
>> an abbreviation for "hostname.mydns.com".
>
>Thanks for the tip, but as you might already have noticed, I'm quite
>new to this (actually was glad to get it up and running :) ), so I
>don't really know where to begin... I am running Linux RedHat 7.0, any
>pointers?

In Unix, the default domain suffix comes from the "domain" or "search"
directives in /etc/resolv.conf.  Remove those lines and programs that
resolve hostnames will not try appending your domain to them.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list