>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Behalf Of Hexren
>> Sent: Sunday, February 06, 2005 2:49 PM
>> To: Ted Mittelstaedt
>> Cc: freebsd-questions@freebsd.org
>> Subject: Re[2]: Sendmail host lookup problem
>>
>>
>>
>>
>> >> -----Original Message-----
>> >> From: [EMAIL PROTECTED]
>> >> [mailto:[EMAIL PROTECTED] Behalf Of Hexren
>> >> Sent: Sunday, February 06, 2005 1:46 PM
>> >> To: freebsd-questions@freebsd.org
>> >> Subject: Sendmail host lookup problem
>> >>
>> >>
>> >> I have a LAN in the 192.168.0 range. I am trying to send mail from
>> >> 192.168.0.78 (gc-infra.steenbuck.net) to 192.168.0.29
>> >> (bettchen.steenbuck.net).
>> >> This leeds to 550 errors. "Host unknown (Name server:
>> >> bettchen.steenbuck.net: host not found)"
>> >>
>> >> 192.168.0.29 is also acting as my DNS Server. Both machines
>> >> have correct (or so I hope) entries in the nameserver.
>>
>> TM> Either you don't have correct entries in the nameserver, or your
>> TM> /etc/resolv.conf on gc-infra is not using 192.168.0.29 as it's
>> TM> nameserver.
>>
>> TM> What is the output of nslookup on gc-infra when you key in
>> TM> the bettchen.steenbuck.net name?  What is it when you issue
>> TM> a "set type=mx" at the nslookup prompt followed by the
>> TM> bettchen.steenbuck.net name?  What is it when you key in the
>> TM> IP number 192.168.0.29?
>>
>> TM> Ted
>> TM> _______________________________________________
>> TM> freebsd-questions@freebsd.org mailing list
>> TM> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> TM> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
>> ---------------------------------------------
>>
>> [gc-infra:~]#nslookup bettchen.steenbuck.net
>> Server:         192.168.0.29
>> Address:        192.168.0.29#53
>>

TM> This is a problem, the output should read:

TM> Server:         bettchen.steenbuck.net
TM> Address:        192.168.0.29

TM> Name:   bettchen.steenbuck.net
TM> Address: 192.168.0.29

>> Name:   bettchen.steenbuck.net
>> Address: 192.168.0.29
>>
>> -----------------
>> [gc-infra:~]#nslookup
>> > set type=mx
>> > bettchen.steenbuck.net
>> Server:         192.168.0.29
>> Address:        192.168.0.29#53
>>
>> bettchen.steenbuck.net  mail exchanger = 10 bettchen.steenbuck.net.
>>

TM> Here's another possible problem, the output should read:

TM> bettchen.steenbuck.net  preference=10, mail exchanger = 10
TM> bettchen.steenbuck.net
TM> (followed by some glue data)


>> -----------------
>>
>> [gc-infra:~]#nslookup 192.168.0.29
>> Server:         192.168.0.29
>> Address:        192.168.0.29#53
>>
>> 29.0.168.192.in-addr.arpa       name =
>> bettchen.steenbuck.net.0.168.192.in-addr.arpa.
>>

TM> name should be bettchen.steenbuck.net, not
TM> bettchen.steenbuck.net.0.168.192.in-addr.arpa.


TM> Post your zone files in bettchen as well as named.conf


TM> Ted


---------------------------------------------

sorry for taking so long to provide some files.
Anyway I pooked around a bit, looked at some configs a friend provided
me with and read a bit more about BIND, did some config cleaning up. And its 
working now
unfortunatly I cannot point to where exactly my error was (note to self do more 
sleeping).
Sendmail is functioning properly :)

My machines, except one now produce the output that you said they
should (and descriped above). I believe the error with that one
machine is rooted in nslookup and not DNS.
Interestingly there are 2 nslookup programms in the MAN pages. One in
section 1 and one in section 8.
http://www.freebsd.org/cgi/man.cgi?query=nslookup&sektion=1&apropos=0&manpath=FreeBSD+5.3-RELEASE+and+Ports
http://www.freebsd.org/cgi/man.cgi?query=nslookup&sektion=8&apropos=0&manpath=FreeBSD+5.3-RELEASE+and+Ports

All my machines are using the one under section 8. (I think you can
tell them apart by looking if they have "help" implemented) Only the
one machine that is not producing the right output uses the one from
section 1.
Anybody nows why this is the way it is, meaning why there are 2
nslookups and by which way you can tell a machine to use one or the
other ? (seems pretty strange to me)


Thank you

Hexren

Attachment: named.conf
Description: Binary data

Attachment: steenbuck.net
Description: Binary data

Attachment: 192.168.0.rev
Description: Binary data

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to