Does bind read /etc/hosts?

Karl Auer kauer at biplane.com.au
Wed Jul 16 01:56:14 UTC 2014


> > > What I want to know is whether the named access the hosts file.

I wonder if the OP is actually asking for a way to have BIND return
specific values for specific host names, without having them looked up
in the real DNS.

Guanghua, can you tell us the result you wish to achieve? From your
example, it looks as if you are trying to get BIND to return a value of
your choice, rather than the value that would normally be returned by a
DNS lookup.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882
Old fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A




More information about the bind-users mailing list