Date: Sun, 5 Jan 2003 13:25:40 -0800 From: "Adam Lofstedt" <adaml@visimation.com> To: "'Unix Tools'" <unixtools@hotmail.com> Cc: "'freebsd-questions'" <freebsd-questions@FreeBSD.ORG> Subject: RE: Redirecting root's email Message-ID: <001401c2b500$ff9d94e0$6501a8c0@5adam5> In-Reply-To: <OE32zTKkwxRGFss0Tgy0000499a@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> hi, > did you try digging the nameserver > > dig @nameserver localhost.visimation.com > > Cheers > Here is the result: ; <<>> DiG 8.3 <<>> @nameserver localhost.visimation.com ; Bad server: nameserver -- using default server and timer opts ; (1 server found) ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUERY SECTION: ;; localhost.visimation.com, type = A, class = IN ;; ANSWER SECTION: localhost.visimation.com. 1H IN A 127.0.0.1 ;; Total query time: 1 msec ;; FROM: forcefield.visimation.com to SERVER: default -- 10.0.0.X ;; WHEN: Sun Jan 5 13:15:55 2003 ;; MSG SIZE sent: 42 rcvd: 58 There of course is no entry in the internal network name server's zone files for localhost.visimation.com. In a simple installation of FBSD, shouldn't sendmail use itself as the relay? And then just use the nameserver in resolv.conf to resolve the domain name in the email address? Why is it trying to contact localhost.visimation.com (and not its host name forcefield.visimation.com?), and why is it not finding it? Shouldn't it use the hosts file first for name resolution? In my /etc/hosts I have the following entries: 127.0.0.1 localhost.visimation.com localhost xxx.xxx.xxx.xxx forcefield.visimation.com forcefield xxx.xxx.xxx.xxx forcefield.visimation.com. Is it because the first entry doesn't have a trailing period after localhost.visimation.com? Thanks for your help, Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401c2b500$ff9d94e0$6501a8c0>
