forwarder
bind at col7.metta.lk
bind at col7.metta.lk
Tue Sep 14 18:36:45 UTC 1999
On Mon, Sep 13, 1999 at 02:30:59PM -0400, Joseph S D Yao wrote:
> > When I put some host that I cannot reach
> > then It takes 24 seconds extra to resolve.
> >
> > I have tried to put myself in the root.hints.
> > It also works fast but I get a few errors.
> It looks like you are putting the name of the DNS server itself into
> the "hints" file!
Yes, that is what I did.
This is my setup
Internet
|
Router 204.143.107.33
|
ISP's =================================================== network
| | |
dhamma.metta.lk 204.143.107.46 ISP's DNS .34
DNS
|
dial up ppp connection
|
narada.col7.metta.lk 172.16.1.1
DNS ---------------------- user dial-in ppp link to get mail
|
===================================== network
| ... | ... | ... | ... | ... | ... |
> You must put the "bastion" host's name and IP address in the "hints"
> file, and the same IP address in as a "forwarder" in narada's config
> file. If this is exactly your network configuration, then your DNS
> configuration should also specify "forward only".
OK, now I put metta.lk in root.hints
and named.conf with "forward only"
and "forwarder {};"
as the system cannot be reached.
(I think I saw you advice on that to someone else)
this is what I have
--------------------
Sep 15 00:21:13 narada named[8694]: reloading nameserver
Sep 15 00:21:13 narada named[8694]: Forwarding source addressis[0.0.0.0].1051
Sep 15 00:21:13 narada named[8694]: Ready to answer queries.
Sep 15 00:21:21 narada named[8694]: ns_req: no address for root server
I presume this is not an error.
It all works fine, 15 sec to do a pop3.
Sep 15 00:21:24 narada pppd[8707]: LCP terminated by peer
Sep 15 00:21:27 narada PAM_pwdb[8707]: (ppp) session closed forusersangha
Sep 15 00:21:27 narada pppd[8707]: Connection terminated.
Sep 15 00:21:27 narada pppd[8707]: Connect time 0.4 minutes.
Sep 15 00:21:27 narada pppd[8707]: Sent 2678 bytes, received 2393 bytes.
Sep 15 00:21:27 narada pppd[8707]: Exit.
/var/named/root.hints
---------------------
. 6D IN NS dhamma.metta.lk.
dhamma.metta.lk. 5w6d16h IN A 204.143.107.46
Thank you for all the help.
Jacob
More information about the bind-users
mailing list