How to override an A record

David Nolan vitroth+ at cmu.edu
Fri Jul 14 15:05:48 UTC 2006



--On Friday, July 14, 2006 09:58:21 -0400 Bill Sandiford 
<sysop at interlinks.net> wrote:


> I need to know how to place a record for www.foo.bar.com into my DNS
> servers  without breaking the lookups for all other records in that
> domain and any  subdomains.
>

Configure your server such that www.foo.bar.com is a domain, with a single 
A record
for the domain name.  If you need baz.www.foo.bar.com to point back to the 
original servers you've got a harder problem.  You could put NS records in 
for known subdomains, but that doesn't guarantee everything will work.  It 
might be possible to solve that with a wildcard NS record, if thats even 
legal....

It should be obvious that this is a hack, but its about the best you can do 
without a transparent proxy of some form, which wouldn't be solving it via 
DNS.

-David Nolan
 Network Software Designer
 Computing Services
 Carnegie Mellon University



More information about the bind-users mailing list