Re: sendmail gethostbyaddr fails

2001-07-14 Thread Carel Fellinger
On Sat, Jul 14, 2001 at 03:08:19PM -0400, Richard A Nelson wrote: > On Sat, 14 Jul 2001, Carel Fellinger wrote: > > > > What does `hostname` say ? and whats in /etc/hosts ? > > > >$ hostname > >animus > > Does /etc/resolv.conf have a domain (or search) directive ? yes, tried it with eit

Re: sendmail gethostbyaddr fails

2001-07-14 Thread Carel Fellinger
On Sat, Jul 14, 2001 at 12:08:32PM -0400, Richard A Nelson wrote: ... > What does `hostname` say ? and whats in /etc/hosts ? $ hostname animus cat /etc/hosts (edited) 127.0.0.1 localhost 192.168.1.1 animus.localnet animus news.localnet smtp.localnet imap.localnet www.lo

Re: sendmail gethostbyaddr fails

2001-07-14 Thread Carel Fellinger
On Sat, Jul 14, 2001 at 03:52:32PM +0200, Joost Kooij wrote: ... > Try this instead: > > #!/usr/bin/perl -w > use Socket; > print scalar gethostbyaddr(inet_aton($ARGV[0]), AF_INET) || "(?)", "\n"; works as expected, gethostbyname works too. (I tried it in python, there I know what is done, quite

Re: sendmail gethostbyaddr fails

2001-07-14 Thread Joost Kooij
On Sat, Jul 14, 2001 at 03:13:09PM +0200, Carel Fellinger wrote: > On Sat, Jul 14, 2001 at 02:30:22PM +0200, Joost Kooij wrote: > ... > > What does it look like when you "strace host 192.168.1.1"? It should > > be showing access to /etc/hosts, if you have "order hosts,bind" in > > /etc/resolv.conf

Re: sendmail gethostbyaddr fails

2001-07-14 Thread Carel Fellinger
On Sat, Jul 14, 2001 at 02:30:22PM +0200, Joost Kooij wrote: ... > What does it look like when you "strace host 192.168.1.1"? It should > be showing access to /etc/hosts, if you have "order hosts,bind" in > /etc/resolv.conf. I think you mean /etc/host.conf? As I said "host 192.168.1.1" works, an

Re: sendmail gethostbyaddr fails

2001-07-14 Thread Joost Kooij
On Sat, Jul 14, 2001 at 01:12:54AM +0200, Carel Fellinger wrote: > Sorry to go off on a tangle, but how is all this supposed to be > working? I mean, if I have /etc/hosts like: > > 192.168.1.1 host.local.domain host > > ip lookup works: > > $ host 192.168.1.1 > Name: host.local.dom

Re: sendmail gethostbyaddr fails

2001-07-13 Thread Carel Fellinger
On Fri, Jul 13, 2001 at 03:46:24PM -0500, Jeremy Gaddis wrote: > Either set up a DNS server for your local network > or add some entries to /etc/hosts. sendmail likes > to be able to resolve its IP address into an FQDN > and will bitch if it can't. Sorry to go off on a tangle, but how is all this

RE: sendmail gethostbyaddr fails

2001-07-13 Thread Jeremy Gaddis
ilto:[EMAIL PROTECTED] Sent: Friday, July 13, 2001 1:41 PM To: debian-user@lists.debian.org Subject: Re: sendmail gethostbyaddr fails On Fri, Jul 13, 2001 at 01:32:35PM -0500, Jeremy Gaddis wrote: > Can you resolve 192.168.1.45 into a fully qualified > domain name? Errr... excuse the cluelessness,

Re: sendmail gethostbyaddr fails

2001-07-13 Thread Paul Mackinney
On Fri, Jul 13, 2001 at 12:51:20PM -0700, Mike Pfleger wrote: > On Fri, Jul 13, 2001 at 01:10:01PM -0600, Jimmy Richards wrote: > > > Try dig -x 192.168.1.45 > > Hi Jim. > > OK. Here's the spew: > > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 55359 > ;; flags: q

Re: sendmail gethostbyaddr fails

2001-07-13 Thread pmackinney
On Fri, Jul 13, 2001 at 01:10:01PM -0600, Jimmy Richards wrote: > On Fri, Jul 13, 2001 at 11:40:49AM -0700, Mike Pfleger wrote: > > On Fri, Jul 13, 2001 at 01:32:35PM -0500, Jeremy Gaddis wrote: > > > Can you resolve 192.168.1.45 into a fully qualified > > > domain name? > > > > Errr... excuse the

Re: sendmail gethostbyaddr fails

2001-07-13 Thread Mike Pfleger
On Fri, Jul 13, 2001 at 01:10:01PM -0600, Jimmy Richards wrote: > Try dig -x 192.168.1.45 Hi Jim. OK. Here's the spew: ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 55359 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;4

Re: sendmail gethostbyaddr fails

2001-07-13 Thread Jimmy Richards
On Fri, Jul 13, 2001 at 11:40:49AM -0700, Mike Pfleger wrote: > On Fri, Jul 13, 2001 at 01:32:35PM -0500, Jeremy Gaddis wrote: > > Can you resolve 192.168.1.45 into a fully qualified > > domain name? > > Errr... excuse the cluelessness, but how would you recommend > doing that? I don't run local

Re: sendmail gethostbyaddr fails

2001-07-13 Thread Mike Pfleger
On Fri, Jul 13, 2001 at 01:32:35PM -0500, Jeremy Gaddis wrote: > Can you resolve 192.168.1.45 into a fully qualified > domain name? Errr... excuse the cluelessness, but how would you recommend doing that? I don't run local DNS, and the DNS entries in /etc/resolv.conf point to my ISPs nameservers

RE: sendmail gethostbyaddr fails

2001-07-13 Thread Jeremy Gaddis
Can you resolve 192.168.1.45 into a fully qualified domain name? j. -- Jeremy L. Gaddis <[EMAIL PROTECTED]> -Original Message- From: Mike Pfleger [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2001 1:17 PM To: debian-user@lists.debian.org Subject: sendmail gethostbyaddr fails Hel