HP3000-L Archives

March 2005, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Wed, 2 Mar 2005 16:05:37 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
HP-3000 Systems Discussion <[log in to unmask]> skrev 2005-03-01
11:55:28 :

> If you look at the output from the "PTR" lookup it says that it found it.
>
> ; <<>> DiG 8.1 <<>> -x PTR IN
...
> ;; ANSWER SECTION:
> <myhp ip - reversed>.in-addr.arpa.  1H IN PTR  <MYHP>.<mydomain>.
...
>
> Therefore; I think that it's not my DNS setup is wrong but the AWK
> script that checks DIG's output is broken. Is anybody able to
> confirm my assumption?

Hi
I think I had this problem, only in my case I was not trying to run an
install script, I was just checking our DNS-config when installing a new
machine (knowing our network/DNS admins ...).
It was a matter of case, and the test just after the awk-script (if [
"X$PTR" != "X" ] && expr " $PTR " : ".* ${FQDN}[.] .*" >/dev/null;) is case
sensitive (which I'm not sure that it should be). If I understand correctly
(and I trust I'll be corrected...) domain names are supposed *not* to be
case sensitive (or possibly always in upper case), however, a DNS should
return names in the case they're entered (so there is an opportunity for
confusion ;-).
I'm not sure if I tweaked the script to be case-insensitive, or got the
DNS-admin to change case (or just didn't care)...

hth
/per
---------------------------------------------------
Per Ostberg
Karolinska University Hospital Lab-IT / C1 51 /
SE-141 86  HUDDINGE / SWEDEN
---------------------------------------------------

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2