[buug] DNS help: tricking my network

Ian Zimmerman itz at speakeasy.org
Mon Sep 9 16:36:03 PDT 2002

Brian> Can I set up the DNS server on my BSD box so that if it
Brian> receives requests for domains that it hosts from the internal
Brian> network it will give a different answer than requests from
Brian> outside the private network?

Not that I know, with BIND 8.

You could run a second nameserver only for internal use.
Or maybe just add the relevant domainnames to your /etc/hosts, and
configure nsswitch to consult /etc/hosts before DNS.

Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
EngSoc adopts market economy: cheap is wasteful, efficient is expensive.

More information about the buug mailing list