After an update the vpnc is not able to pick up dns information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Ubuntu) |
Invalid
|
Undecided
|
LaMont Jones |
Bug Description
Three days ago I updated my ubuntu 9.4, after the vpnc is not able to pick up the dns information from vpn source.
- below the packages updates.
-rw-r--r-- 1 root root 12K 2009-07-28 14:04 linux-restricte
-rw-r--r-- 1 root root 8.3M 2009-07-28 14:04 linux-headers-
-rw-r--r-- 1 root root 797K 2009-07-28 14:04 linux-restricte
-rw-r--r-- 1 root root 796K 2009-07-28 14:04 linux-restricte
-rw-r--r-- 1 root root 654K 2009-07-28 14:05 linux-headers-
-rw-r--r-- 1 root root 653K 2009-07-28 14:05 linux-headers-
-rw-r--r-- 1 root root 24M 2009-07-28 14:05 linux-image-
-rw-r--r-- 1 root root 24M 2009-07-28 14:05 linux-image-
-rw-r--r-- 1 root root 744K 2009-07-28 14:05 linux-libc-
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-headers-
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-headers-
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-generic_
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-server_
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-restricte
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-restricte
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-image-
-rw-r--r-- 1 root root 3.5K 2009-07-28 16:04 linux-image-
-rw-r--r-- 1 root root 642K 2009-07-28 16:46 libv8-0_
-rw-r--r-- 1 root root 18M 2009-07-28 19:01 chromium-
-rw-r--r-- 1 root root 90K 2009-07-29 00:05 bind9utils_
-rw-r--r-- 1 root root 60K 2009-07-29 00:05 bind9-host_
-rw-r--r-- 1 root root 236K 2009-07-29 00:05 bind9_1%
-rw-r--r-- 1 root root 144K 2009-07-29 00:05 libisc45_
-rw-r--r-- 1 root root 531K 2009-07-29 00:05 libdns45_
-rw-r--r-- 1 root root 32K 2009-07-29 00:05 libbind9-
-rw-r--r-- 1 root root 141K 2009-07-29 00:05 dnsutils_
-rw-r--r-- 1 root root 44K 2009-07-29 00:05 liblwres40_
-rw-r--r-- 1 root root 43K 2009-07-29 00:05 libisccfg40_
-rw-r--r-- 1 root root 26K 2009-07-29 00:05 libisccc40_
mosses@
Linux mosses-laptop 2.6.28-14-server #47-Ubuntu SMP Sat Jul 25 01:18:34 UTC 2009 i686 GNU/Linux
- This issue is happening in old kernel release
Ubuntu 9.04, kernel 2.6.28-13-server
- Workaround
handle the resolv.conf file
$ more /etc/resolvconf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search externo.com mosses.com
$ sudo cp -rp /etc/resolv.
$ cat /etc/resolvconf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 125.147.4.5
nameserver 125.147.6.5
search externo.com mosses.com
Regards
Mosses
You have installed bind9, and told it to have resolvconf update resolv.conf when it starts. You'll want to edit /etc/default/bind9 to say 'RESOLVCONF=no', and then starting bind9 will not rewrite resolv.conf