pdnsd requires manual restart after new WiFi connection gets established
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pdnsd (Debian) |
Fix Released
|
Unknown
|
|||
pdnsd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pdnsd
1.
lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10
2.
apt-cache policy pdnsd
pdnsd:
Installed: 1.2.7-par-1
Candidate: 1.2.7-par-1
Version table:
*** 1.2.7-par-1 0
500 http://
100 /var/lib/
3.
pdnsd caching DNS queries
4.
pdnsd does not report new dns queries after system restart
pdnsd starts before Network Manager Applet establishes WiFi connection
The pdsnd service has to be manually restarted to get it working (it did not see the wireless network interface at its initial start)
After this manual restart it works fine.
/etc/resolv.conf is set to localhost (127.0.0.1),
ProblemType: Bug
Architecture: amd64
Date: Thu Oct 15 19:12:32 2009
DistroRelease: Ubuntu 9.10
Package: pdnsd 1.2.7-par-1
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: pdnsd
Uname: Linux 2.6.31-14-generic x86_64
XsessionErrors:
(gnome-
(gnome-
(nautilus:2146): Eel-CRITICAL **: eel_preferences
(polkit-
Related branches
Changed in pdnsd (Debian): | |
status: | Unknown → New |
Changed in pdnsd (Debian): | |
status: | New → Fix Released |
I have a workaround for this: It is to make NetworkManager restart pdnsd on connecting by using the dispatcher.
In a terminal, go to the script directory of the dispatcher and create a new script using gedit: ager/dispatcher .d
cd /etc/NetworkMan
sudo gedit 99pdnsd
In gedit, cut & paste and save the following:
#!/bin/bash
#
# Restart pdnsd after the connection is made
if [ $1 == "wlan0" ] && [ $2 == "up" ]; then
/etc/init.d/pdnsd restart;
fi
Now, back in the terminal, make the script executable:
sudo chmod 755 99pdnsd
Now, when NetworkManager is used resulting in the interface 'wlan0' being 'up', the init script is run to restart pdnsd.
Of course, you might want to replace wlan0 with the network interface of your liking, or add other options for other interfaces.