Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an internal DNS server. I've added a custom record for a domain name that is public. I want to add local records but keep the public domain name resolved. For instance : foo.bar.com = wan ip -> SAT -> local server

I've added a zone bar.com and a custom record : gum.bar.com = lan ip -> local server

BUT I need to delegate other records, that means foo.bar.com should be left to the public DNS server. I saw the delegation option for a zone, I put my IPS DNS server, it works nice for a specific zone, like foo.bar must be resolved by the isp 's DNS. Now If I want to delegate a wildcart, it ain't work. You get I want to override the DNS server : resolve local names (the one you have records for) but other domain names mut be resolved by another server.

How can I achieve that, using a wildcard for a given zone ? Thanks mates

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Delete your "bar.com" zone from your W2K3 DNS server. Create a zone "gum.bar.com", and create a blank host record in that zone pointing to the LAN IP of the local server. Problem solved. >smile<

The W2K3 DNS server can't be simultaneously authoritative for a domain while forwarding queries that it can't resolve to another DNS server. It's just a limitation of the product. Working around it, per the above, is how we've always handled it.

share|improve this answer
    
Note that with this method, referencing the server by FQDN will be: server.gum.bar.com –  joeqwerty Sep 15 '09 at 13:28
1  
This "limitation" is also in many other name servers. So, the solution of a subdomain is certainly the right one. –  bortzmeyer Sep 15 '09 at 13:49
    
I don't think it's as much a limitation of any specific product as it is a limitation of the DNS protocol. –  Powerlord Sep 15 '09 at 15:17
1  
@joeqwerty: You don't have to specify a hostname-- you can refer to the zone's name itself-- gum.bar.com-- in the A record (an "@" record, in BIND terminology). –  Evan Anderson Sep 15 '09 at 20:29
    
@Evan: I'm not sure what you're saying, but I mean that the FQDN of the server will be server.gum.bar.com and not server.bar.com. Can you elaborate on your comment? Thanks. –  joeqwerty Sep 16 '09 at 1:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.