How to setup DNS for local address?

melegant99
melegant99 used Ask the Experts™
on
Hi.

I have a single domain server that is running DNS. That same server is running IIS and providing us a website portal.mycompany.com. (server IP let's say is 192.168.1.1)

We have a router that connects to a cable modem, the domain server is connected to that router.

My question is what is the proper way to setup DNS? We need our inside stuff (the internal websites) to translate locally and everything else to translate on the .net. Should our local client DNS server point to our domain server? (192.168.1.1)

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
I would point ALL dns traffic to 192.168.1.1, including on the DNS server itself.


On the DNS server, go into DNS and set up a Forwarder, and point it to your ISP (or other outside) DNS servers.  That has always worked great for my setups.

ks_admin

Yes your local devices should use your internal DNS server which in turn needs to pass unknown lookups through the router to the ISP's DNS server.

Author

Commented:
KS, should if my DHCP is my router, then the router should be providing the DNS ip to my clients correct?

Commented:
If your router is providing DHCP, that's fine.  But configure the router to use 192.168.1.1 as it's DNS, and to provide that same address to the DHCP clients.

ks_admin

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial