Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!archimedes.math.uwm.edu!jgreco From: jgreco@archimedes.math.uwm.edu (Joe Greco) Newsgroups: comp.unix.aix Subject: Re: RS6000 named Message-ID: <8496@uwm.edu> Date: 20 Dec 90 19:47:56 GMT References: <121490.152613.heise1@ibm.com> <1990Dec18.163834.23608@turnkey.tcc.com> Sender: news@uwm.edu Organization: University of Wisconsin, Milwaukee - Department of Mathematics Lines: 197 In article <121490.152613.heise1@ibm.com> RAH@IBM.COM ("Russell A. Heise") writes: > leclair@chamois.cs.uiowa.edu (Jeanne Leclair) writes: > > I recently started bringing up a 530 RS6000 and want to run named. I set up > > named.boot, loopback.rev and root.cache like on our other machines running > > named and fired it up. It works great for machines local to our departmental > > domain (cs.uiowa.edu)... For on-campus hosts in other departments, however, > > you would expect to be able to use hostname.dept-domain...that doesn't work > You missed nothing; yes, this is how it's supposed to work. I assume you > have set up an appropriate /etc/resolv.conf. If so, AIX follows a two-step > process to resolve a name to an address. (1) First, AIX looks at the name > passed *to* it. If the name has a period (.) anywhere in it, AIX leaves it > untouched. Otherwise, AIX appends the domain string from /etc/resolv.conf. > (2) Next, AIX sends the result of step 1 to the nameserver(s) listed in > /etc/resolv.conf. I don't have RFC's handy to back me up at this moment (but I believe that they do). However, this isn't how Berkeley's BIND works, and I believe if you look around that you'll discover that this is prehistoric behaviour. If you look in a BSD system's /usr/include/resolv.h, you'll run across a lot of goodies... anyways, look at the following behaviour on the part of BIND 4.8.1 and think about it. It's a real pain to be on "thales.math.uwm.edu" and have to type "csd4.csd.uwm.edu" instead of just "csd4.csd" to get where you want to go. .. Joe encl: 200 lines of nslookup output. ------------------------------------------------------------------------------- Joe Greco - University of Wisconsin, Milwaukee - Department of Mathematics jgreco@archimedes.math.uwm.edu USnail: Joe Greco Voice: 414/321-6184 9905 W. Montana Ave. Data: 414/321-9287 (Happy Hacker's BBS) West Allis, WI 53227-3329 ICBM: 43 05 20 N 87 53 10 W #include Disclaimer: I don't speak for the Math Department, the University, or myself. ericskey has logged on tty01 from local. jgreco has logged on tty02 from local. (archimedes.jgreco.p4-4) 1:36pm ~ 1 > nslookup Default Server: archimedes.math.uwm.edu Address: 0.0.0.0 > set d > archimedes.math Server: archimedes.math.uwm.edu Address: 0.0.0.0 ------------ Got answer: HEADER: opcode = QUERY, id = 1, rcode = NXDOMAIN header flags: response, auth. answer, want recursion, recursion avail. questions = 1, answers = 0, auth. records = 1, additional = 0 QUESTIONS: archimedes.math.math.uwm.edu, type = A, class = IN AUTHORITY RECORDS: -> math.uwm.edu origin = math.uwm.edu mail addr = jgreco.archimedes.math.uwm.edu serial=901119, refresh=1 hour, retry=1 hour expire=41 days 16 hours, min=1 hour ------------ Failed: NXDOMAIN, num. answers = 0, ns = 1, additional = 0 ------------ Got answer: HEADER: opcode = QUERY, id = 2, rcode = NOERROR header flags: response, auth. answer, want recursion, recursion avail. questions = 1, answers = 1, auth. records = 0, additional = 0 QUESTIONS: archimedes.math.uwm.edu, type = A, class = IN ANSWERS: -> archimedes.math.uwm.edu inet address = 129.89.14.64 ------------ Name: archimedes.math.uwm.edu Address: 129.89.14.64 > csd4.csd Server: archimedes.math.uwm.edu Address: 0.0.0.0 ------------ Got answer: HEADER: opcode = QUERY, id = 3, rcode = NXDOMAIN header flags: response, auth. answer, want recursion, recursion avail. questions = 1, answers = 0, auth. records = 1, additional = 0 QUESTIONS: csd4.csd.math.uwm.edu, type = A, class = IN AUTHORITY RECORDS: -> math.uwm.edu origin = math.uwm.edu mail addr = jgreco.archimedes.math.uwm.edu serial=901119, refresh=1 hour, retry=1 hour expire=41 days 16 hours, min=1 hour ------------ Failed: NXDOMAIN, num. answers = 0, ns = 1, additional = 0 ------------ Got answer: HEADER: opcode = QUERY, id = 4, rcode = NOERROR header flags: response, want recursion, recursion avail. questions = 1, answers = 1, auth. records = 4, additional = 6 QUESTIONS: csd4.csd.uwm.edu, type = A, class = IN ANSWERS: -> csd4.csd.uwm.edu inet address = 129.89.7.4 AUTHORITY RECORDS: -> uwm.edu nameserver = UWM.EDU -> uwm.edu nameserver = GARDEN-BRAU.CSD.UWM.EDU -> uwm.edu nameserver = GARCON.CSO.UIUC.EDU -> uwm.edu nameserver = UXC.CSO.UIUC.EDU ADDITIONAL RECORDS: -> UWM.EDU inet address = 129.89.7.2 -> UWM.EDU inet address = 129.89.2.1 -> GARDEN-BRAU.CSD.UWM.EDU inet address = 129.89.7.14 -> GARDEN-BRAU.CSD.UWM.EDU inet address = 129.89.2.14 -> GARCON.CSO.UIUC.EDU inet address = 128.174.5.58 -> UXC.CSO.UIUC.EDU inet address = 128.174.5.50 ------------ Non-authoritative answer: Name: csd4.csd.uwm.edu Address: 129.89.7.4 > nowhere.null Server: archimedes.math.uwm.edu Address: 0.0.0.0 ------------ Got answer: HEADER: opcode = QUERY, id = 5, rcode = NXDOMAIN header flags: response, auth. answer, want recursion, recursion avail. questions = 1, answers = 0, auth. records = 1, additional = 0 QUESTIONS: nowhere.null.math.uwm.edu, type = A, class = IN AUTHORITY RECORDS: -> math.uwm.edu origin = math.uwm.edu mail addr = jgreco.archimedes.math.uwm.edu serial=901119, refresh=1 hour, retry=1 hour expire=41 days 16 hours, min=1 hour ------------ Failed: NXDOMAIN, num. answers = 0, ns = 1, additional = 0 Timeout 1 ------------ Got answer: HEADER: opcode = QUERY, id = 6, rcode = NXDOMAIN header flags: response, auth. answer, want recursion, recursion avail. questions = 1, answers = 0, auth. records = 1, additional = 0 QUESTIONS: nowhere.null.uwm.edu, type = A, class = IN AUTHORITY RECORDS: -> uwm.edu origin = uwm.edu mail addr = james.uwm.edu serial=901217, refresh=1 day, retry=6 hours expire=7 days, min=14 hours ------------ Failed: NXDOMAIN, num. answers = 0, ns = 1, additional = 0 ------------ Got answer: HEADER: opcode = QUERY, id = 7, rcode = NXDOMAIN header flags: response, auth. answer, want recursion, recursion avail. questions = 1, answers = 0, auth. records = 1, additional = 0 QUESTIONS: nowhere.null, type = A, class = IN AUTHORITY RECORDS: -> (root) origin = NS.NIC.DDN.MIL mail addr = HOSTMASTER.NIC.DDN.MIL serial=901217, refresh=30 mins, retry=5 mins expire=7 days, min=1 day ------------ Failed: NXDOMAIN, num. answers = 0, ns = 1, additional = 0 *** archimedes.math.uwm.edu can't find nowhere.null: Non-existent domain > ^D (archimedes.jgreco.p4-4) 1:37pm ~ 2 > exit exit