*BSD News Article 59181


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsxfer2.itd.umich.edu!agate!hpg30a.csc.cuhk.hk!news.cuhk.edu.hk!newsfeeder.ust.hk!news.ust.hk!ch_lsw
From: ch_lsw@uxmail.ust.hk (Lee Sai Wai)
Newsgroups: comp.protocols.tcp-ip.domains,comp.unix.bsd.bsdi.misc
Subject: Re: need help with dns for another domain
Followup-To: comp.protocols.tcp-ip.domains,comp.unix.bsd.bsdi.misc
Date: 10 Jan 1996 07:47:27 GMT
Organization: The Hong Kong University of Science and Technology
Lines: 176
Distribution: inet
Message-ID: <4cvquf$71s@news.ust.hk>
References: <4cmbkb$2g6@ipof1.fla.net>
NNTP-Posting-Host: ustsu4.ust.hk
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.protocols.tcp-ip.domains:8856 comp.unix.bsd.bsdi.misc:2000

Nick Pikarsky (pikarsky@maniac.med.miami.edu) wrote:
: Sorry, I have never used freeagent before, (die hard tin user) and I
: posted the last article with an attachment, which was encoded, instead
: of keepin it as text. fixed it this time...

:  am tring to set up a domain on unix system running bsdi v2.0, I am
: having
: problems when it comes to checking out the domain with nslookup. It is
: unable 
: query the domain...

: below is a log of my nslookup session:

: ipof: {6} % nslookup piklee.com
: Server:  ipof.fla.net
: Address:  0.0.0.0
:  
: Name:    piklee.com
: Address:  205.228.191.100
:  
: ipof: {7} % nslookup nickspc2.piklee.com
: Server:  ipof.fla.net
: Address:  0.0.0.0
:  
: Name:    nickspc2.piklee.com
: Address:  205.228.191.10
:  
: ipof: {8} % nslookup www.piklee.com
: Server:  ipof.fla.net
: Address:  0.0.0.0
:  
: Name:    nickspc2.piklee.com
: Address:  205.228.191.10
: Aliases:  www.piklee.com
:  
: these look ok to me but when I try to list the domain I get the
: following:


: ipof: {9} % nslookup
: Default Server:  ipof.fla.net
: Address:  0.0.0.0
:  
: > set type=any
: > set db2
: > ls piklee.com
: ;; res_mkquery(0, piklee.com, 1, 252)
: [ipof.fla.net]
: *** Can't list domain piklee.com: Query refused
: > ls -d piklee.com
: ;; res_mkquery(0, piklee.com, 1, 252)
: [ipof.fla.net]
: *** Can't list domain piklee.com: Query refused
: > ls -d nickspc2.piklee.com
: ;; res_mkquery(0, nickspc2.piklee.com, 1, 252)
: [ipof.fla.net]
: *** Can't list domain nickspc2.piklee.com: Query refused
: > set debug
: > ls piklee.com
: ;; res_mkquery(0, piklee.com, 1, 252)
: [ipof.fla.net]
: *** Can't list domain piklee.com: Query refused
: > exit


: the following is a copy of my bind data base for the in question
: domain:

: this is the named.boot from the system.

: ;       @(#)named.boot  8.1 (Berkeley) 6/9/93
:  
: ; boot file for secondary name server
:  
:  
: directory       /etc/namedb
:  
: ; type    domain                source host/file                backup
: file
:  
: primary   fla.net                       domain.db
: primary   piklee.com                    piklee.db
: primary   188.228.205.IN-ADDR.ARPA      reverse.db
: primary   189.228.205.IN-ADDR.ARPA      189.228.205.db
: primary   190.228.205.IN-ADDR.ARPA      190.228.205.db
: primary   191.228.205.IN-ADDR.ARPA      191.228.205.db
: primary   0.0.127.IN-ADDR.ARPA          localhost.rev
: cache     .                             root.cache
: primary   piklee.com                    piklee.db

: this is the first iteration of the forward resolution for the new
: domain


: ;
: ; Forward resolution for local names
: ;
: ;
: $ORIGIN com.
: ;
: piklee          IN      SOA             .piklee.com.
: hostmaster.fla.net. (
:                                 951125  ; Serial number
:                                 172800  ; Refresh every 2 days
:                                 3600    ; Retry every hour
:                                 1728000 ; Expire every 20 days
:                                 172800 ); Minimum 2 days
: ;
:                 IN      NS      ipof.fla.net.
:                 IN      NS      ns.uu.net.
:                 IN      A       205.228.191.100
:                 IN      MX      10 ipof.fla.net.
: ;
: ;
: $ORIGIN piklee.com.
: localhost       IN      A       127.0.0.1
: ;               IN      A       205.228.191.100
:                 IN      MX      10 ipof.fla.net.
: nickspc2        IN      A       205.228.191.10
: www             IN      CNAME   nickspc2.piklee.com.


: this is the second iteration.

: ;
: ; Forward resolution for local names
: ;
: $ORIGIN com.
: ;
: piklee          IN      SOA             .fla.net. hostmaster.fla.net.
: (
:                                 951125  ; Serial number
:                                 172800  ; Refresh every 2 days
:                                 3600    ; Retry every hour
:                                 1728000 ; Expire every 20 days
:                                 172800 ); Minimum 2 days
: ;
:                 IN      NS      ipof.fla.net.
:                 IN      NS      ns.uu.net.
: ;
: ;
: piklee.com.     A       205.228.191.100
:                 MX      100 ipof.fla.net.
: nickspc2        A       205.228.191.10

: both of them have the same results, What am I doing wrong?? do I need
: a
: different version of bind?? any ideas??

: thanks
: Nick Pikarsky
: pikarsky@maniac.med.miami.edu
: pikarsky@ipof.fla.net



Dear sir,


  Can u give me more detail of the C library function of Resolver?
  When I type "man resolver", it only print out very simple manual.

  What I want to know it the menaing of each argument in each function call.

  Can u tell me  more?

Thanks!

Benson

--
================================================================================
Full Name     : Fung Wai Pan Benson
email address : ch_lsw@stu.ust.hk    
                ben@asiaonline.net
================================================================================