• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

How to setup DNS for local address?

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.
0
melegant99
Asked:
melegant99
  • 2
1 Solution
 
ks_adminCommented:
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

0
 
Rick_O_ShayCommented:
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.
0
 
melegant99Author Commented:
KS, should if my DHCP is my router, then the router should be providing the DNS ip to my clients correct?
0
 
ks_adminCommented:
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
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now