How can I set up a local nameserver and modify DNS zones on it?
- by Joe Hopfgartner
This is a follow up to this question.
I am having an issue with a Router that doesn't support hairpinning properly. See the link above for details.
Now I want to set up a local DNS server that Hosts in our LAN can use to resolve public Hostnames (usual webbrowsing... ).
Additionally I want to modify certain zones.
In our LAN we have some servers serving resources that are not available in our public dns zone.
We always have to configure our local LMHost files accordingly.
For example we have a staging installation with a new feature running on a local Webserver, and we cannot access it with the IP directly because the website runs in a named virtual host container, we have to configure LMHost file to point some domain to the local IP address.
And now we have also the Hair pinning issue.
So my question is: What software can I use? Will bind do the job? I just need to insert some A entries into the zone. As easy as possible. We have local Linux/Ubuntu servers.