We have a domain on the web that is hosted by our ISP. We also use the same domain name for our private network DNS. I can access any address on the web, except our own. Any ideas why this is?
The /etc/hosts file is there. Does it need to include the DNS servers that belong to our ISP?
I should also clarify, the only problem we have is with our domain name. For example, if I was to set the domain name for our private network to "hotmail.com" or something, then the only website I would not be able to access would be hotmail.com or whatever I use.
OK, So if i understnd what you are saying, The only web site you are able to see is the one running on your internal machine that has the same domain name as your external site ?
The host file does not need a DNS entry.
If you are using your ISP for DNS, you need to set up a file called /etc/resolv.conf
The only website that i cannot see is the one with the same domain name as out internal domain.
We are using our ISP for DNS for our internet domain name, but we have our own DNS server for our internal domain (which has the same domain name as our internet domain).
The /etc/resolv.conf files have been set up on all machines. I tried adding our ISP DNS server to the resolv.conf file, but I get the following message when I try to ping our domain:
ping: unknown host
I have come to the conclusion that the only way our internal network will be able to recognize our domain with the same name on the web is by using a static IP and putting that information in the named.hosts file on the internal DNS server. Is this the right way to do it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.