Having problems looking up my c:\dns\etc\hosts running bind9 win32

Danny Mayer mayer at gis.net
Wed Apr 13 04:06:13 UTC 2005


At 01:50 PM 4/12/2005, jcharth at hotmail.com wrote:
>hello for some reason my bind9 deamon on w2k server is not looking up
>the c:\dns\etc\hosts file. Can anyone tell me how to do this? or if i
>need to use a different file than the hosts file to add manual entries.
>I am trying to point some bad domains to the loopback device. thanks

Hosts file? That has nothing to do with a DNS server, that's only for
your local machine. DNS servers are meant to replace hosts files.
Nothing you show below will cause it to look elsewhere.

Danny


>this are the config with all the things ive tried commented out
>
>-- resoldve.conf
>
>hostresorder     files local bind dns
>nameserver 10.100.1.21
>nameserver 10.100.1.29
>search senadv.com
>options timeout:11
>
>#domain        senkoadv.com
>
>-- nsswitch.conf
>
>hosts:          files dns
>networks:       files
>
>
>-- hosts.conf
>
># Lookup names via /etc/hosts first, then by DNS query
>order hosts, bind
># We don't have machines with multiple addresses
>multi on
># Check for IP address spoofing
>nospoof on
># Warn us if someone attempts to spoof
>alert on
>
>-- named.conf
>
>options {
>directory "c:\dns\etc";
>#forward only;
>#forwarders { 10.100.1.21; };
>
>
>listen-on { 10.100.2.21; };
>
>allow-query { any; };
>
>
>};
>
>
>#server 10.100.2.10 {
>#transfer-format many-answers;
>#};



More information about the bind-users mailing list