[bind9 packaging] DNS no longer works after uninstall

Bug #533781 reported by André Pirard
2
Affects Status Importance Assigned to Milestone
bind9 (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: bind9

Using Ubuntu 8.10 (Intrepid).
I installed bind9 as a caching nameserver.
(BTW, kudos for the simplest BIND installation ever seen !!!)
But BIND could overload my router's NAT table with UDP DNS requests.

So, ... I uninstalled bind9.
BIND did not stop. I had to restart Ubuntu. But /etc/resolv.conf remained like this :
# 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 lan

==> DNS no longer worked.

Uninstall cleanup did not restore a working DNS state.

resolvconf's README is suggesting this :
$ sudo echo "nameserver 192.168.0.1" | resolvconf -a dummy
/sbin/resolvconf: line 79: dummy_new.4139: Permission denied

Turned on manual mode : workaround :
/etc/resolvconf/run/interface/ contained lo.named and NetworkManager
I removed lo.named leaving NetworkManager

After the next DHCP renewal, /etc/resolv.conf became :
# Generated by NetworkManager
domain lan
search lan
nameserver 192.168.0.1
nameserver 192.168.0.1

Strange contents, but DNS was working again.

André Pirard (a.pirard)
description: updated
Revision history for this message
Mathias Gug (mathiaz) wrote :

How did you uninstall the bind9 package?

Changed in bind9 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
André Pirard (a.pirard) wrote : Re: [Bug 533781] Re: [bind9 packaging] DNS no longer works after uninstall

> How did you uninstall the bind9 package?
>
https://help.ubuntu.com/community/SynapticHowto#Adding or Removing
Software
<https://help.ubuntu.com/community/SynapticHowto#Adding%20or%20Removing%20Software>

A complete removal is my habit.

Revision history for this message
André Pirard (a.pirard) wrote :

Oops, I just came across a Synaptic Packet Manager : Not installed (residual config) for bind9.
Not my habit, that's why I didn't imagine it, but that must explain what happened to me.
Setting to invalid.
This story can be used as a nice hownotto, though :-)

Changed in bind9 (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.