Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dns server 5

Status
Not open for further replies.

WINDOWSGUY

Programmer
Apr 11, 2002
45
CA
i have my LAN - i have web server with iis 5.0 - i am connected to the internet thru my isp provider(cable).I have one ip address. To configure my DNS server - what ip address should i use for:
- my network tcp/ip address
- my dns server
forwarding
help?
 
Were you assigned a static IP address by your ISP? Also, did your cable modem come with a configurable OS? Your ISP is your primary DNS provider, hence, set up via the forwarding tab in DNS properties. If you have Active Directory configured in your environment, you have DNS configured for your internal network and a machine configured as a DNS server. This is a typical scenario.
 
If you are running Win2000 AD with DNS on the server, the server has an IP address which could be your public IP , but probably DHCP from your cable modem. The server NIC has as its default gateway either the cable modem IP (if it has one) or the router IP address of your ISP's router. There should be NO DNS ADDRESS ENTERED IN THE SERVER NIC. (The server is its own DNS source.)

The DNS part of the AD server has a forwarder set to the ISP DNS server address.

So the DNS request goes from the AD DNS server, if it cannot find the address, to the ISP DNS. If you have a LAN, then you have clients, unless its a test network, you should run DHCP on the AD server and pass the IP address, the default gateway address, and your DNS server (AD server) IP address to them using this.

Alex
 
You can use the 192.168.x.x for your network becasue these adresses are used for private networks only and then assign them the gateway address. This will enable them to connect to the internet.
 
HI:
i HAVE A HOME NETWORK WITH 3 PC'S HOCKED UP. I have DNS on the same web server as WEB server, my internet connections goes thru my router, can i still have a zone on my DNS server and physically be on the same server as my web sites?

ted
 
As long as your Win2000 DOMAIN NAME is NOT your WEB DOMAIN (i.e. yournetwork.local NOT yournet.com) then YES.
 
if i have configured my DNS server on my lan. I have also
configured my zone names on my DNS, therefore i should b eable to connect thru my web browser to my web sites - without registering my sites with a regisrtar - is this accurate?
One more time - i have a lan at home - with a web server - and a DNS SERVER on my lan - all configyred correctly - i should be able to connect to my web sites - without registering my web site with a qualified regisratar? For ex i have created a web site - configure my web sites - configurated my DNS server - i shouled be able to connect to my web sites on my lan? why does it not work?? i get errors saying cannot be found (dns server)?why?


thanks for any advice
 
Say your internal DNS server zone is company.local. A host record called be created with the ip address of your web server.

Now on the client side, your primary DNS is configured to your internal DNS server. You type in which your DNS server resolves to the address you put into the and you should be taken to the website on your IIS.







Claudius (What certifications??)
 
thanks - but do i need to register my url name with a regisratar before i can accise my web site? even though my web site and my DNS server are on my own lan?

thanks for all your help again!
 
If all traffic is internal, no. If external clients require access to your internal network to the web server, then yes.

Claudius (What certifications??)
 
I am not sure if you want to do this, but you could register you name for $6 and then use their dns to forward all request to your home ip. Then you could always get to your website and you wouldn't have to have any special configurations like you are trying. I hosted a website for over a year like this.
 
hi:
This is my problem. I purchased a Domain Name, I have a web server and a dns server on my lan. My internet connection goes thru my router to my lan. My isp provider gives me 1 IP address - my router assigns all 2 workstations a private IP address each. Questions is what IP address I assign my web site(PROPERTY TAB)server and on my DNS server - the router ip address or my private ip address? Please advise again.
Thanks
 
This is how website traffic dns is done in a nutshell-
*you try to get to *Your ISPs DNS checks its cache if it knows of that address
* if it doesn't, it queries (I am missing some steps here just giving you relevant ones for time being) the nameserver records (which points to a dns server which has an ip recorded for the address
OK based on this and your question, you seem to want to have people use your dns server to resolve where your web server is located. In this case you would forward all port 53 traffic (DNS port) on your router to your DNS server from the outside. Your DNS server will have a forward lookup zone called yourweb.com. In it you will have an host record called has the address of your public ip address.

Now have all port 80 traffic forwarded to the internal address of your web server.

Basically thats it.

Note, there are some free services out there who could do the nameserver part for you - especially handy if your external ip is not static - Dynamic DNS -


Claudius (What certifications??)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top