How to override an A record

qipman qipman at qipquestions.org
Sat Jul 15 03:40:23 UTC 2006


Bill
If you are trying to have a subdomain resolve to an IP address, you
could add the following to the db.foo.bar.com zone file (assuming that
you are authoritative for the zone):

db.foo.bar.com	IN	A	2.3.4.5

I hope this helps,
-LL



-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
Behalf Of Bill Sandiford
Sent: Friday, July 14, 2006 11:56 AM
To: comp-protocols-dns-bind at isc.org
Subject: Re: How to override an A record

Thanks David:

I'm not worried about resolution of further subdomains below 
www.foo.bar.com.  My problem is that I am worried about other A records
(or 
records of other types) in the foo.bar.com domain.  For example, I want
to 
override a single A record www.foo.bar.com  but I still want the A
record 
for say, www2.foo.bar.com to resolve through normal channels from the
true 
authoritive DNS server.

Bill

"David Nolan" <vitroth+ at cmu.edu> wrote in message 
news:e98cpg$1f5k$1 at sf1.isc.org...
>
>
> --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