1. named: "found it", ping: "unknown host"
Dear All
Soory, this looks much like a standard Unix question:
Applications can't resolve some addresses of my domain and only from my
Linux PC: all those who starts with the same group of letters as the
Linux PC itself, i.e.: tvn_pc, tvn_xt, tvn_lap. The Linux box's name is
tvn_linux. I don't have such problem with my other Unix boes nor my
PC's.
1/ I've setup a local named to monitor the name resolution: it's Ok.
named finds it but the invoking application don't get it.
2/ My resolv.conf has a search onto my subdomain and main domain.
3/ My nsswitch.conf says hosts: dns [NOTFOUND=continue] files
If I put an entry in the /etc/hosts: it works.
How can it be doing this?
Many thanks,
Thierry de Villeneuve
----
ping: unknown host tvn_pc
----
the /var/tpm/named.run (Intranet names and IPs edited) reports:
datagram from [192.4.209.73].1370, fd 22, len 35; now Fri Jun 12
09:46:44 1998
ns_req(from=[192.4.209.73].1370)
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59847
;; flags: rd; Ques: 1, Ans: 0, Auth: 0, Addit: 0
;; QUESTIONS:
;; tvn_pc.rbc.st.com, type = A, class = IN
req: nlookup(tvn_pc.rbc.tt.com) id 59847 type=1 class=1
req: found 'tvn_pc.rbc.tt.com' as 'tvn_pc.rbc.tt.com' (cname=0)
wanted(0x8079988, 1, 1) [IN A]
make_rr(tvn_pc.rbc.tt.com, 8079988, bffffc1b, 465, 1) 4 zone 0 ttl
897753892
finddata: added 1 class 1 type 1 RRs
req: foundname=1, count=1, founddata=1, cname=0
sort_response(1)
findns: np 0x8078140 'tvn_pc'
match(0x8079988, 1, 2) 1, 1
findns: np 0x8079d10 'rbc'
match(0x8077f28, 1, 2) 1, 6
match(0x80780a0, 1, 2) 1, 2
findns: 1 NS's added for 'rbc'
make_rr(rbc.st.com, 80780a0, bffffc2b, 449, 1) 17 zone 0 ttl 897754724
free_nsp: rbdns.rbc.tt.com rcnt 1
doaddinfo() addcount = 1
do additional "rbdns.rbc.tt.com" (from "rbc.tt.com")
found it
match(0x8078fd0, 1, 5) 1, 1
match(0x8078fd0, 1, 5) 1, 1
match(0x8078fd0, 1, 1) 1, 1
make_rr(rbdns.rbc.st.com, 8078fd0, bffffc49, 419, 0) 4 zone 0 ttl
897754724
addinfo: adding address data n = 16
ns_req: answer -> [192.4.209.73].1370 fd=22 id=59847 size=97 Local
2. ` chars get typed automatically in xterm (RH 5.2)
3. Why am I getting "ILLEGAL PORT COMMAND" messages?
4. shell scripts
5. Q: Why am I getting "Sorry - PPP is not available on this system"?????
6. Problems with Talk under Linux
7. GETSERVBYNAME()????????????????????"""""""""""""
8. ypcat problem
9. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""
10. Why the "x" in the words "Unix", "Linux"...?
11. dip "Unknown server error": what am I missing ?
12. "syslogd: unknown priority "24" " error - won't boot!
13. Help: "unallocated sectors", "unknown system for swap partition".