• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

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