Resolve domain names

Jun Mack jmack at ccp.edu.ph
Tue Sep 18 01:49:05 UTC 2001




hi! I don't know if this is the right forum but I'm pretty much sure I'll get answers.

We have this setup:
( We are doing this as an experiment in one of our subjects.)

                                            192.168.0.1               192.168.1.1                  192.168.2.1                  192.168.3.1
                                                  |                                |                                |                                    |
                                           ____|__________________|__________________ |_____________________|
                                                       |                                |                                |
                                                192.168.4.1                192.168.5.1                    192.168.6.1

All networks are reachable through 192.168.0.1 (192.168.0.0 network). We installed BIND in all machines and have configured in such a way that each host can resolve its own domain. Now, we want that if we do a dig to any of these hosts, they could be resolved. Say, 192.168.1.1 has a domain name xyz.com. If 192.168.5.1 (abc.com) do a dig ns xyz.com, 192.168.5.1 should get the correct response and if we browse the webpage hosted by xyz.com ( http://www.xyz.com), 192.168.5.1 should be able to view the said webpage. (Note: The webserver has been configured correctly).

Our questions are: 

1. Do we have to define in our forward zone the domains of each network?
2. Do we have to define in our resolv.conf the IP addresses of each domain?

OS: Redhat Linux 7.0 and 7.1

Thank you very much for your kind assistance.


Jun



More information about the bind-users mailing list