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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internal BIND 9 server

Status
Not open for further replies.
Apr 16, 2003
117
US
Ok I think I am getting somewhere but of course I am getting somewhere that I have little knowledge. For my ease of use I use Webmin to admin my Linux machine. I am running slackware 10 and Bind 9
Alll i want to do is to be able to see the websites hosted on this machine.
When I am outside the home netowrk i can see them fine
However at home I cannot
If I edit the hosts file on my XP machine I can see them but I do not want to have to do this
The router is a Linksys wirelss G router
What shoud is etup in biond to get this to work? is there another program i should use? I jsut need it to server the internal computers
[Also i did set the IP settings of my windows box to use the internal DNS server as the primary DNS server and a DNS server of my ISP for the other and still nothing]
 
Just taking a stab at what you are asking, but I would guess that you are attempting to access websites on your local network (probably private addressed according to RFC 1918) by name.

When your system does a DNS request, it gets the public IP address, and you can't seem to get the connection to work without setting the hosts file on the internal hosts?

If this is the case, the easiest method that I can think of, which should work most of the time, is to set up a caching nameserver on your internal network, and set that DNS server as your first choice DNS server in DHCP. You can define your domain name on that nameserver to serve your internal private IP addresses for your domain, and the caching nameserver should contact an Internet-based DNS server for all other domains.

Unfortunately, if your machine has to do secondary or tertiary DNS request, you will still get the public IP and the connection for that page or component will fail.


pansophic
 
that sounds like exactly what I want to do.
Now since I am a BIND/DNS newbie can you maybe point me in the right direction of how i should be setting this up?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top