Re: Problem with named

1999-11-16 Thread aphro
On Mon, 15 Nov 1999, Pollywog wrote:

pollyw >Don't you mean /etc/host.conf?

doh..i guess i do :)  on irix its stored in /etc/resolv.conf ..didnt know
debian stored it in host.conf .. is host.conf a standard thing ? i seem to
remember(incorrectly maybe) that my slackware 3.2/3.4 also stored it in
resolv.conf ..

nate

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
7:39pm up 88 days, 7:12, 1 user, load average: 1.48, 1.71, 1.96


Re: Problem with named

1999-11-15 Thread Pollywog

> 
> Brian> name.  How can I fix this problem?  Also, how can I add some machine
> Brian> records to the files.  I have tried following the howto's and the
> readmes
> Brian> but I have had no luck yet.
> 
> Nate> best way to do that is to add it to /etc/hosts, and change your
> Nate> /etc/resolv.conf so it has this in it:
> 
> Nate> order local,bind

Don't you mean /etc/host.conf?

--
Andrew


Re: Problem with named

1999-11-15 Thread aphro
On 15 Nov 1999, Ian Zimmerman wrote:

itz >Hmm, doesn't that defeat the purpose of running named in the first
itz >place?  I'd add a new zone file and reference it from /etc/named.conf.

i run named mainly on my dialup for ipmasq.  for some reason DNS does not
get masq'd for me under kernel 2.2 ..it masqs fine under 2.0 but i could
never get it workin under 2.2.  i suppose adding a new zone for a local
network would be useful but unless its a big one i cant imagine a real
advantage over just using hosts ..

nate

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
2:20pm up 88 days, 1:53, 1 user, load average: 1.69, 1.58, 1.56


Re: Problem with named

1999-11-15 Thread Ian Zimmerman
> "Nate" == aphro  <[EMAIL PROTECTED]> writes:

Brian> name.  How can I fix this problem?  Also, how can I add some machine
Brian> records to the files.  I have tried following the howto's and the readmes
Brian> but I have had no luck yet.

Nate> best way to do that is to add it to /etc/hosts, and change your
Nate> /etc/resolv.conf so it has this in it:

Nate> order local,bind

Nate> so it will search hosts before it asks the DNS for host info.

Hmm, doesn't that defeat the purpose of running named in the first
place?  I'd add a new zone file and reference it from /etc/named.conf.

-- 
Ian Zimmerman
Lightbinders, Inc.
2325 3rd Street #324, San Francisco, California 94107


Re: Problem with named

1999-11-12 Thread aphro
On Fri, 12 Nov 1999, Brian Schramm wrote:

bschra >I have a small network at home that I am running named on.  I am also
bschra >using yi.org's free dynamic dns for my internet name.  I have had some
bschra >trouble with my two machines on the prifate network.  If I type 
nslookup I
bschra >get the address of the machine back with a message saying it cannot find
bschra >the name of that machine.  I then go into it with localhost as the 
machine

try removing all 'nameserver' entries from resolv.conf it will cause the
programs to lookup at 0.0.0.0 ..which should work (for me it does) also
make sure that the machine is running a named and it is working, try to
resolve stuff on it from another machine (you may have to add a listen
option in named.conf to have it listen on the right ip(s)/port(s))

bschra >name.  How can I fix this problem?  Also, how can I add some machine
bschra >records to the files.  I have tried following the howto's and the 
readmes
bschra >but I have had no luck yet.

best way to do that is to add it to /etc/hosts, and change your
/etc/resolv.conf so it has this in it:

order local,bind

so it will search hosts before it asks the DNS for host info.

HTH

nate

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
2:04pm up 85 days, 1:36, 1 user, load average: 1.87, 1.81, 1.66


Problem with named

1999-11-12 Thread Brian Schramm
I have a small network at home that I am running named on.  I am also
using yi.org's free dynamic dns for my internet name.  I have had some
trouble with my two machines on the prifate network.  If I type nslookup I
get the address of the machine back with a message saying it cannot find
the name of that machine.  I then go into it with localhost as the machine
name.  How can I fix this problem?  Also, how can I add some machine
records to the files.  I have tried following the howto's and the readmes
but I have had no luck yet.

Thanks.

Brian Schramm
[EMAIL PROTECTED]
www.linuxexpert.org



URGENT-problem with named

1998-10-20 Thread ing.Bubulac Angela Tatiana



hello,
On 13 Oct I ask the maintainer of ro domain to change the name and IP
address of my DNS.
old:
 ; <<>> DiG 8.1 <<>> @ns.ici.ro ns citon.ro 
 ; (1 server found)
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
 ;; QUERY SECTION:
 ;;  citon.ro, type = NS, class = IN
 
 ;; ANSWER SECTION:
 citon.ro.   4D IN NSpub.pub.ro.
 citon.ro.   4D IN NSB659.citon.ro.
 
 ;; ADDITIONAL SECTION:
 pub.pub.ro. 1D IN A 141.85.128.1
 B659.citon.ro.  4D IN A 193.226.61.100
 
 ;; Total query time: 20 msec
 ;; FROM: romsys-sun to SERVER: ns.ici.ro  192.162.16.21
 ;; WHEN: Fri Oct  9 13:57:07 1998
 ;; MSG SIZE  sent: 26  rcvd: 101
new:
; <<>> DiG 2.1 <<>> @ns.ici.ro ns citon.ro. 
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10
;; flags: qr rd ra; Ques: 1, Ans: 2, Auth: 0, Addit: 2
;; QUESTIONS:
;;  citon.ro, type = NS, class = IN

;; ANSWERS:
citon.ro.   345600  NS  router.citon.ro.
citon.ro.   345600  NS  pub.pub.ro.

;; ADDITIONAL RECORDS:
router.citon.ro.345600  A   193.231.157.1
pub.pub.ro. 86400   A   141.85.128.1

;; Total query time: 27 msec
;; FROM: alpha to SERVER: ns.ici.ro  192.162.16.21
;; WHEN: Tue Oct 20 10:23:35 1998
;; MSG SIZE  sent: 26  rcvd: 103

I modify the root.hints cache file:
/var/named/zone/root.hints

; <<>> DiG 2.2 <<>> @ns.internic.net . ns 
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10
;; flags: qr aa rd; Ques: 1, Ans: 13, Auth: 0, Addit: 13
;; QUESTIONS:
;;  ., type = NS, class = IN

;; ANSWERS:
.   NS  pub.pub.ro.
pub.pub.ro. A   141.85.128.1

;; Total query time: 6070 msec
;; FROM: waiting to SERVER: ns.internic.net  198.41.0.4
;; WHEN: Thu Jul 17 16:55:43 1997
;; MSG SIZE  sent: 17  rcvd: 436



The problem is that when I restart the named (ndc restart; ndc reload) I
get the next message:
Oct 20 09:23:51 router named[2770]: named shutting down
Oct 20 09:23:51 router named[2770]: USAGE 908900631 908900312
CPU=0.28u/0.07s CHILDCPU=0u/0s
Oct 20 09:23:51 router named[2770]: NSTATS 908900631 908900312 A=10 PTR=5
MX=1
Oct 20 09:23:51 router named[2770]: XSTATS 908900631 908900312 RR=18
RNXD=1 RFwdR=8 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=4 ROpts$
Oct 20 09:23:56 router named[2809]: starting.  named 8.1.2-T3B Sun Jun  7
23:43:52 MDT 1998 [EMAIL PROTECTED]:/home/bdale/debian/bind-8.1.2$
Oct 20 09:23:56 router named[2809]: cache zone "" (IN) loaded (serial 0)
Oct 20 09:23:56 router named[2809]: master zone "127.in-addr.arpa" (IN)
loaded (serial 1998100702)
Oct 20 09:23:56 router named[2809]: master zone "citon.ro" (IN) loaded
(serial 1998100707)
Oct 20 09:23:57 router named[2809]: master zone "193.231.157.in-addr.arpa"
(IN) loaded (serial 1998100706)
Oct 20 09:23:57 router named[2809]: listening on [127.0.0.1].53 (lo)
Oct 20 09:23:57 router named[2809]: listening on [193.231.44.100].53
(eth0)
Oct 20 09:23:57 router named[2809]: listening on [193.231.157.1].53 (eth1)
Oct 20 09:23:57 router named[2809]: Forwarding source address is
[0.0.0.0].1947
Oct 20 09:23:57 router named[2810]: Ready to answer queries.
Oct 20 09:28:44 router named[2810]: sysquery: findns error (NXDOMAIN) on
B659.citon.ro?
Oct 20 09:28:46 router named[2810]: sysquery: findns error (NXDOMAIN) on
B659.citon.ro?
Oct 20 09:28:50 router named[2810]: Lame server on
'11.157.231.193.in-addr.arpa' (in '157.231.193.in-addr.arpa'?):
[141.85.128.1].53 'pub.pub.ro': learnt (A=141.85.128.1,NS=141.85.128.1)

Why it try to lookup to the B659.citon.ro?
Please tell me what to do I have to do because I have no idea.
TIA
   \\\___///
  \\  - -  //
   (  @ @  )
-oOOo-(_)-oOOo
*Bubulac Angela Tatiana - National Institute for R&D of Materials Physics*
* Bucuresti - Magurele P.O.B. MG-7   *
* Romania*
*e-mail: [EMAIL PROTECTED]  |   phone :401-7805385 int.1380  *
*[EMAIL PROTECTED]  |  401-7806925   *
*   |  401-7804573   *
--Oooo
  oooO   (   )
 (   )) /
  \ ((_/
   \_)





problem with named

1997-08-04 Thread Alexander Koch
Hiya.

I have a constant problem with a server of us (the only Debian server, it's
been hard enough to convince them to install Debian on it)...

There're some errors you might already know, so I'm asking:

Aug  2 09:01:37 cephyr named[17820]: Malformed response from [194.221.77.66].53 
(answer to wrong question) 
Aug  2 09:01:42 cephyr named[17820]: Malformed response from [130.149.17.5].53 (
answer to wrong question) 
Aug  2 09:01:49 cephyr icmplogd: destination unreachable from localhost
Aug  2 09:01:56 cephyr named[17820]: Malformed response from [194.112.92.33].53 
(answer to wrong question) 
Aug  2 09:02:12 cephyr named[17820]: Malformed response from [141.1.1.1].53 (ans
wer to wrong question) 

There can't be so many incorrect nameservers, or what is wrong there?
Additionally another error comes up:

Aug  2 02:32:55 cephyr named[17820]: Err/TO getting serial# for "musictus.com"

What exactly does this message mean? When I delete the files in /var/named/
they get reloaded (or fetched, yes) correctly, if I only restart bind, the
files are also reloaded correctly...

At the very last thought, what are these syslog messages telling me?

Aug  2 09:25:19 cephyr icmplogd: destination unreachable from cephyr.cid-net.de
Aug  2 09:25:40 cephyr icmplogd: destination unreachable from cephyr.cid-net.de

There're two routes going out. default is the router and the other is the
subnet. What is wrong here? What is unreachable?

Sorry, I'm not really getting the point... Clueless, to put it that way.
Any hints appreciated.

Alexander
(please CC me as I'm not getting this list at work and I'm not at home...)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


[NAME SERVICE] Re: problem with named

1997-08-04 Thread Anand Kumria
-BEGIN PGP SIGNED MESSAGE-

On Sat, 2 Aug 1997, Alexander Koch wrote:

> Aug  2 09:01:37 cephyr named[17820]: Malformed response from 
> [194.221.77.66].53 
> (answer to wrong question) 
> Aug  2 09:01:42 cephyr named[17820]: Malformed response from 
> [130.149.17.5].53 (
> answer to wrong question) 
> Aug  2 09:01:49 cephyr icmplogd: destination unreachable from localhost
> Aug  2 09:01:56 cephyr named[17820]: Malformed response from 
> [194.112.92.33].53 
> (answer to wrong question) 
> Aug  2 09:02:12 cephyr named[17820]: Malformed response from [141.1.1.1].53 
> (ans
> wer to wrong question) 
> 
> There can't be so many incorrect nameservers, or what is wrong there?

Unfortunately, yes there are.

> Additionally another error comes up:
> 
> Aug  2 02:32:55 cephyr named[17820]: Err/TO getting serial# for "musictus.com"

There might have been some problem obtaining the packets from this
nameserver - perhaps the response was truncated, or the UDP packet failed
its checksum, or the connection via TCP (if established) was broken.

> What exactly does this message mean? When I delete the files in /var/named/
> they get reloaded (or fetched, yes) correctly, if I only restart bind, the
> files are also reloaded correctly...

Which files? Are you a secondary or primary for the above site?

[snip - another problem, unrelated to named]

Anand.

- --
 `When any government, or any church for that matter, undertakes to say to
  its subjects, "This you may not read, this you must not see, this you are
  forbidden to know," the end result is tyranny and oppression no matter how
  holy the motives' -- Robert A Heinlein, "If this goes on --"

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBM+SgemRmcAD8BdppAQG+AQP5AbEiofkgAxD92vXci0O3whLrLnytjJQb
CqStqthVp/haWBFc820hCEGGTyNuk/MQgxB57cC/talOzWzvw1oHU5n648EavO/q
EDPa2vcl9OmsWJohQiV67n7PQ+eIwJFh8uL64YedP0+lPbV/UO8RzPOgEnk/d1/k
TaadBkT9MXU=
=6qZa
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


[IPLOGGER] Odd log messages Was: problem with named

1997-08-04 Thread Anand Kumria
-BEGIN PGP SIGNED MESSAGE-

On Sat, 2 Aug 1997, Alexander Koch wrote:

> Aug  2 09:25:19 cephyr icmplogd: destination unreachable from 
> cephyr.cid-net.de
> Aug  2 09:25:40 cephyr icmplogd: destination unreachable from 
> cephyr.cid-net.de
> 
> There're two routes going out. default is the router and the other is the
> subnet. What is wrong here? What is unreachable?

These message are beging generated becasue you have the iplogger package
installed. The iplogger package sets the interfaces into promiscuous mode
and log any unusual ICMP, TCP or UDP packes that it sees.

Destination unreachable _could_ be a sign of a problem, but if when you
check things you find that you still have connectivity then what is most
likely happening is that someone running traceroute - traceroute generates
a lot of destination unreachable packets [or is that port unreachable?]

Another possiblity is that of your machines has got the wrong subnet mask
- - if you know how to, I'd run tcpdump and log the ICMP packets and see
where cephyr is replying to, and then check that machine.

Anand.

- --
 `When any government, or any church for that matter, undertakes to say to
  its subjects, "This you may not read, this you must not see, this you are
  forbidden to know," the end result is tyranny and oppression no matter how
  holy the motives' -- Robert A Heinlein, "If this goes on --"

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBM+SivmRmcAD8BdppAQHUzAQA3qX0GSX24b9e1GgKui7F2R9WzEt76lfG
q4frg3RxewR+DtLWNMM8Fy08i11MHjg4qEaN9xzucHcN8BfbSMgkGZG8IL7CHfuc
RrLPDToTx+4ZGxAQiet53y2/G3Qq48a/TD2xijQNf8uNDSTf5wMSLKOVTDVoX8eg
fYT0Pb4yOYM=
=4t/p
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [IPLOGGER] Odd log messages Was: problem with named

1997-08-04 Thread Jens B. Jorgensen
Anand Kumria wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> 
> On Sat, 2 Aug 1997, Alexander Koch wrote:
> 
> > Aug  2 09:25:19 cephyr icmplogd: destination unreachable from 
> > cephyr.cid-net.de
> > Aug  2 09:25:40 cephyr icmplogd: destination unreachable from 
> > cephyr.cid-net.de
> >
> > There're two routes going out. default is the router and the other is the
> > subnet. What is wrong here? What is unreachable?
> 
> These message are beging generated becasue you have the iplogger package
> installed. The iplogger package sets the interfaces into promiscuous mode
> and log any unusual ICMP, TCP or UDP packes that it sees.
> 
> Destination unreachable _could_ be a sign of a problem, but if when you
> check things you find that you still have connectivity then what is most
> likely happening is that someone running traceroute - traceroute generates
> a lot of destination unreachable packets [or is that port unreachable?]

Neither. If the TTL field reaches zero a gateway will respond with
an ICMP Time Exceeded Message (ICMP type 11). traceroute would generate
"lots" of these packets. If a packet reaches the destination host
and the destination port is inactive, the host would generate a
Destination Unreachable (ICMP type 3) with the Code = 3 indicating
that the port was unreachable. Running traceroute would cause 
one of these packets to be generated.
 
I've found destination unreachable messages to most often be seen
from attempts to deliver mail. If the target host is very busy (and
on many systems this is quite often the case) no more SMTP connections
may be able to be made at the moment, in which case a dest. unreachable
message would be generated. It would be nice if the iplogger would
include the rest of the info which comes in such a message.

> Another possiblity is that of your machines has got the wrong subnet mask
> - - if you know how to, I'd run tcpdump and log the ICMP packets and see
> where cephyr is replying to, and then check that machine.
> 

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .