|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all
I have this strange problem regarding dns-lookups on opensuse11 I start a private vpn that hijacks the /etc/resolv.conf and inserts itself as the first nameserver: Code:
cat /etc/resolv.conf search secana.local nameserver 10.1.2.64 nameserver 192.168.2.3 Code:
dig src ; <<>> DiG 9.4.2-P1 <<>> src ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 53090 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;src. IN A ;; Query time: 8 msec ;; SERVER: 10.1.2.64#53(10.1.2.64) ;; WHEN: Fri Jul 10 14:13:26 2009 ;; MSG SIZE rcvd: 21 Same with nslookup: Code:
nslookup src ;; Got SERVFAIL reply from 10.1.2.64, trying next server Server: 192.168.2.3 Address: 192.168.2.3#53 ** server can't find src: NXDOMAIN Code:
cat /etc/resolv.conf search secana.local #nameserver 10.1.2.64 nameserver 192.168.2.3 dig src ; <<>> DiG 9.4.2-P1 <<>> src ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 21877 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;src. IN A ;; AUTHORITY SECTION: . 8218 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009070900 1800 900 604800 86400 ;; Query time: 0 msec ;; SERVER: 192.168.2.3#53(192.168.2.3) ;; WHEN: Fri Jul 10 14:19:34 2009 ;; MSG SIZE rcvd: 96 nslookup src Server: 192.168.2.3 Address: 192.168.2.3#53 Name: src.secana.local Address: 192.168.2.40 Any help appreciated -- Thanks |
|
|||
|
.local is reserved for mDNS, and will cause strange behaviour. If you don't want interaction with mDNS, add
mdns off to /etc/host.conf. This is not in the openSUSE man page which is badly out of date (2003), but you can find the documentation on the web: 5:host.conf - Linux Man Pages Manual Documentation for Linux / Solaris / UNIX / BSD |
![]() |
| Bookmarks |
| Tags |
| dns resolve nameserver |
| Thread Tools | |
| Display Modes | |
|
|