[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

nameserver



hi *,
 perche' nslookup si comporta diversamente da dig?

 a casa ho una macchina che si comporta da gateway verso la rete,
facendomi anche da dns. il problema e' pero' questo:

~% nslookup www.debian.org
*** Can't find server name for address 192.168.1.1: Non-existent host/domain
*** Default servers are not available


 ma se provo ad usare dig:

~% dig www.debian.org

; <<>> DiG 8.3 <<>> www.debian.org 
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 9, ADDITIONAL: 9
;; QUERY SECTION:
;;	www.debian.org, type = A, class = IN

;; ANSWER SECTION:
www.debian.org.		2h53m34s IN A	198.186.203.20

;; AUTHORITY SECTION:
debian.org.		2h53m17s IN NS	samosa.debian.org.
[MEGASNIP]
;; Total query time: 410 msec
;; FROM: robinhood to SERVER: default -- 192.168.1.1
;; WHEN: Sun Dec  2 11:38:22 2001

 che puo' essere?

 il mio /etc/resolv.conf (che e' quanto di piu' semplice si possa avere
;): 

search sherwood.taz
nameserver 192.168.1.1

 secondo voi che succede?

 soon,
 lidl


-- 
-----------------------------------------------------------------------------
    \\         LJ                 |
    /-\-\                         | Filippo Carone
    |,,,,\     |`\                | Telecommunication Engineering Student
    ||C ° \    |   \              | @ Politecnico di Milano
  _// `\_|     |     \            |
 /  /___  \----|-----\\           | revbrain admin - revbrain.sourceforge.net
 \______C` \\|=|=======)===>»»    | asm / C programmer
   |      |    |      /           | GNU & Open Source supporter
-----------------------------------------------------------------------------



Reply to: