On Wed, 12 Jan 2000 [EMAIL PROTECTED] wrote:

Hi.. 

>The DNS will clean up after 1 hour if there is no access
>unless the interface-interval has been set to some different value.
>
>/var/log/messages
>Jan 11 22:49:00 narada named[6706]: deleting interface [172.16.1.1].53
>(this is my ppp connection)

I have not followed the entire thread about this subject, but let me try
clear up some aspects about this - at least as far as your dns goes.

First off, lets asume your ethernet card has IP Address x.x.x.x

Your named.conf:
~~~~~~~~~~~~~~~~
options {
        listen-on port 53 { x.x.x.x; };
        query-source address * port 53;
};

listen-on binds named to listen to that specific IP Address.  You ONLY need
one interface, you ONLY need to bind it to your ethernet card (to allow
yourself, aswell as your computers on your network to do dns queries).

No manual / automatic adding and deleting of interfaces.  Restarting the
name server, also clears your cache, which will in return delay performance 
as far as your dns server and its lookups go.  In my books, the only time I
restart my DNS server is when my system reboots... :)

>Jan 12 08:58:00 narada named[11503]: Ready to answer queries.
>Jan 12 08:58:00 narada named[11503]: sysquery: sendto([0.0.0.0].0): Invalid argument

^^^^^^^^^^^^^^^^^^  This is DEFINATELY something arb which you have
misconfigured in your named.conf.  The ].0) says that bind is trying to
do queries to the root servers on port 0!!!! (The root server that is
queried also has an IP off 0.0.0.0 which is DEFINATELY not right!!), NOT
standard, NOT allowed. This is DEFINATELY an missing, or mis-configures 
query-source option in named.conf. The query-source option listen above, 
basically tells named to do its queries to the root servers on IP Address * 
(Any IP Address that it can use to reach the servers - mostly, this will be 
your ppp assigned IP address which bind will detect automatically).  The port,
specified which UDP and TDP port to use to make the query with - port 53 being
standard for DNS traffic.

So it *should* look like this:
Jan 13 00:50:49 darkwing named[514]: ns_forw: sendto([192.36.148.17].53): Network is 
unreachable
 ns_forw: sendto([192.36.148.17].53): Network is unreachable
  ^         ^         ^          ^     ^
  |         |         |          |     \- Network unreachable because I
  |         |         |          |        am offline.
  |         |         |          \------- Queries on port 53
  |         |         \------------------ IP Address of the ROOT Server
  |         |                             which will be queried.
  |         \---------------------------- DNS Query where sent to an
  |                                       remote server.
  \-------------------------------------- Query was forwarded.

Hope this helps you an bit :)

Regards
Chris Knipe
Cel: (083) 430 8151
Freelance Internet Developer, Consultant, Administrator & Speaker


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to