Refer single machine in local DNS server to outside name resoluton?
hugo at fractaltechnologies.com
Wed Oct 9 03:34:16 UTC 2002
I have actually tried. I have put the following:
www.mydomain.com IN CNAME server1.otherdomain.com.au
www.mydomain.com IN A 188.8.131.52
I have tried this both in the p-mydomain masterfile and the
s-otherdomain slave file for lookups.
When I do a nslookup for www.mydomain.com, all I get back is:
www.mydomain.com canonical name = www.mydomain.com.
But no resolution to an IP address or to server1.otherdomain.com.au
In my resolv.conf file I have
search mydomain.com otherdomain.com.au
Cricket Liu wrote:
>>I have a strange DNS problem. I have have a private 192.168 network for
>>a domain - let's call it "mydomain.com". I have a local DNS server for
>>that network (not publicly accessible). However, one machine with name
>>"www.mydomain.com" is in fact an alias for a machine in a different
>>domain, i.e. the IP address of that machine does NOT start with 192.168.
>>although that machine has the same domain extension as all other
>>machines which DO start with 192.168.
>>So I can't put "www.mydomain.com" in my local DNS as its IP address does
>>not match the IP range. But as this machine has the domain extension
>>"mydomain.com", the local DNS server refuses to look outside for an
>>authoritative answer - hence always returns that it can't resolve the
>>name to an address.
> You seem to think there's a one-to-one relationship between zones
> and networks. There isn't. You can add a A record for www.domain.com
> to the domain.com zone data file no matter what network it's on. Didn't
> you try?
> Men & Mice
> DNS Software, Training and Consulting
> The DNS and BIND Cookbook, coming October 2002!
Dr Hugo Bouckaert
Systems and Programming Engineer
GeoInformatics Exploration Australia P/L
57 Havelock St
West Perth, WA 6005
PO Box 1675, West Perth 6872
Ph: 61 08 9420 7400
Fax: 61 08 9226 1299
This email and any attachments may be confidential or legally
privileged. If you received this message in error or are not the
intended recipient, you should destroy the e-mail message and any
attachments or copies, and you are prohibited from retaining,
distributing, disclosing or using any information contained herein.
Please inform us of the erroneous delivery by return e-mail. Thank you
for your cooperation.
More information about the bind-users