Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
Help Configuring Split DNS
« previous
next »
Print
Pages: [
1
]
Author
Topic: Help Configuring Split DNS (Read 7870 times)
smajor
Jr. Member
Posts: 77
Karma: 10
Help Configuring Split DNS
«
on:
February 21, 2016, 12:24:08 am »
I'm looking for some advice on configuring my router's DNS. I run split DNS, I want my internal NAT clients to resolve to an internal NATted DNS server.
My main issue is that I have a web server, among other services, running on NAT and I find that OPNsense cannot resolve to things like URLs on my web-server. Possibly because of my internal DNS being on a system behind NAT as well.
What would be best practice for this? Under System>Settings>General should I use my internal DNS server or External, or both? Or is there some other setting I need to have a look at?
Thanks all for any tips.
Logged
philamonster
Newbie
Posts: 15
Karma: 5
Re: Help Configuring Split DNS
«
Reply #1 on:
February 22, 2016, 05:07:08 pm »
Under Services > DNS Forwarder towards the bottom of the page find the Host Overrides section.
Click on the plus sign to add an override. Enter the hostname & domain for public domain that you are trying to access. In my case I use service.dyndns.org so hostname = service, domain = dyndns.org. Then add local IP of the machine that service is hosted and a description. You can also add different aliases for this host at the bottom of the dialog. Creating these DNS entries will autogenerate firewall rules on the WAN interface for NAT.
Your internal hosts will now use this local DNS config to find your published services using the same URL that internet clients would use.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
Help Configuring Split DNS