Date: Mon, 4 Oct 1999 00:00:40 +0200 From: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> To: Richard Morte <ric@sinclairassoc.force9.co.uk> Cc: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: NSLINT and DNS configuration Message-ID: <19991004000040.F35757@daemon.ninth-circle.org> In-Reply-To: <37F74CBD.FE1EE27D@sinclairassoc.force9.co.uk> References: <37F74CBD.FE1EE27D@sinclairassoc.force9.co.uk>
index | next in thread | previous in thread | raw e-mail
On [19991003 14:41], Richard Morte (ric@sinclairassoc.force9.co.uk) wrote:
>Has anyone used nslint to check the dns configuration? I just used it
>and it reports the following:
>
> missing address A localhost. -> 127.0.0.1
> missing pointer PTR localhost.at.home -> 127.0.0.1
> 127.0.0.1 in use by localhost.at.home & localhost.
Had this before. Definately a configuration error.
named.conf:
zone "1.0.0.127.IN-ADDR.ARPA" {
type master;
file "db.127.0.0.1";
};
db.127.0.0.1:
1 IN PTR localhost.blah.org.
db.blah.org:
localhost IN A 127.0.0.1
[blah.org is fictional and only used for the example]
>I have checked the configuration and localhost does seem to be clearly
>mapped to 127.0.0.1 and vice-versa. This seems to be confirmed by the
>final line of nslint's output.
>
>Are these "errors" due to nslint's inability to find it's way through
>the config files ( I shouldn't trust nslint's output) or has it found
>something I should investigate further (nslint is good and I've clearly
>got it wrong)?
nslint is 99% of the time correct. Remember, computer lexers and parsers
interpret configurations aimed for computers better than humans ;)
HTH,
--
Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
Network/Security Specialist BSD: Technical excellence at its best
Fame is the perfume of heroic deeds.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991004000040.F35757>
