first up stats:
Running Slack 9.1
the basics i can think of right now..
I currently run this box as a NAT box for me and the family, but lately security has been more and more of a problem on a few of the computers.
to prevent from spyware/viruses/popus/ all the crap, i use the host file from
now i keep this on my machine but its a pain to always go and update them on other computers all the time. And no login scripts with samba are not currently an option due to the many computers coming in and out of this network.
So currently I have BIND running and working just fine, all the computers on the network use it without a problem. The only problem is that BIND seems to completly ignore the /etc/hosts file
from the actual linux console:
root@drunkfrog:~# ping abcsearch.com
PING abcsearch.com (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.232 ms
( it of course gets this address because of the /etc/hosts file
root@drunkfrog:~# host abcsearch.com
abcsearch.com has address 184.108.40.206
(the host command, like many others, seem to skip the actual /etc/hosts file)
From a windows box behind the box
Pinging abcsearch.com [220.127.116.11] with 32 bytes of data:
( seems to skip as well )
Basically, what i want is for any machine on the network behind the NAT box, to read from the /etc/hosts file and use the result from there and not from the actual DNS server, and that if the host is not within the file, then to go and use the DNS server.
I know its alot to explain and it might not all be clear, but any help would be welcome in regards to this.