|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
DNS : Unknown Hostname
First i want to give my system specs:
Netgear WGR 614 v4 Wireless Router (192.168.0.1) PC#1: Linux Redhat / Bind 9 (192.168.0.3) PC#2: Win2000 (192.168.0.2) PC#3: Win2000 (192.168.0.4) i have setup a webserver, a dns server, and created a domain lets call it www.iamanewb.com(IP 209.xxx.xxx.xxx) on my PC#1 or linux box, but the problem is none of the PC's(#2 and #3) are able access that site from the browser. it returns an error "www.iamanewb.com could not be found. please check the name and try again". i tried to ping them from the command prompt and received "unknown hostname". i was able to ping PC#1 192.168.0.3 and also the public IP 209.xxx.xxx.xxx, but not the domain name. PC #1 is able to access the domain from the browser and browse through it without any problem. So the problem is both the internal and external users aren't able to access the domain i created(www.iamanewb.com). The only one that can access it is PC#1 which is a server running the DNS server. I've been searching everywhere all night and couldn't come up with a solution for this problem. Do I have to register the domain i created? If so, why do we need to register it when we can just run it at home and somehow allow external users to get to the site? Sites such as godaddy.com, verisign.com, domain.com run their own domain so i guess i can run one myself without paying for registration? Without registering... at least the internal users should be able to access the site right? I'm really confused. im kinda new to the DNS field so please help answer my questions. these questions have been floating in my mind for awhile now. I use my ISP dns1 & 2 incase i get asked for two nameservers by the BIND tool and network configuration. Am i setting things up correctly? |
|
#2
|
|||
|
|||
|
I am no expert, but I just went through some of the issues you are having, so let me give it a crack.
You must register the domain at one of the registrars if you plan on using it for the Internet. But, is sounds like you're only trying to make the site available to local users, so there will be no problem with an unregistered domain as long as you don't expose your connection to the Internet. The fact you can't ping the hostname from PC's other than the dns server points to a tcp/ip configuration problem. I am guessing you don't have the tcp/ip protocol installed correctly on the PC's. Did you list your dns server address as the first server in the list? Also, you should not list your isp's dns servers unless you do plan on exposing your network to the internet. Further, check your SOA, NS, and A records in your forward lookup zone. Be sure the SOA names your fully qualified domain name, or FQDN, (e.g., ns1.yourcompany.com), the NS names the same FQDN, and the A records use the correct ip address of the dns server. You should have an A record for: "www", "yourcompany.com", and "ns1". Hope this helps! wannabewebster |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > DNS : Unknown Hostname |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|