Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm not that familiar with DNS, I have a DNS server that handles all of our internal DNS entries and its fine. However we have a software package now that points to a host that exists "publicly" however we are supposed to use a different IP to access this server. I can put an entry in the local machine's host file and the software works but this is going on a lot of systems and I don't want outdated host files everywhere.

If I make a new zone on our DNS to handle this domain i can get the software to work by putting in a record, but then all of the other hosts on that domain break since I don't have records for them. (For instance, the www entry doesn't exist so going to the public website results in not finding a host).

So I'd like to put in one or two entries in our DNS for a zone I have no control/authority on and have it serve those internally but forward everything else out.

share|improve this question
What DNS server are you using? –  joeqwerty Mar 19 '13 at 14:30

2 Answers 2

what you could do is the following. Setup a dns server running on resolving the entries you want. In front of that you use a dns cache f.e. dnsmasq. in dnsmasq you could do:


this should direct queries for host1 and host2 to the local instance and all other queries for the same domain to (which represents your providers dns resolver) and all other queries will be forwarded to the servers configured in /etc/resolv.conf.


share|improve this answer

You can add a zone for the FQDN (e.g host1.donain.tld) so queries for anything other than *.host1.domain.tld will go to the original authoritative DNS server. It's not perfect, but it'll work.

share|improve this answer

Your Answer


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.