[Resolvconf-devel] Bug#418982: resolvconf: Local dns server is inserted after DHCP dns server

Ivan Raikov raikov at oist.jp
Fri Apr 13 07:07:08 UTC 2007


Package: resolvconf
Version: 1.37
Severity: normal

I am using pdnsd as a local caching nameserver, and there is a network
DNS server obtained via DHCP; however, resolvconf creates the
following /etc/resolv.conf:

# 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 dhcp.domain.jp
nameserver 127.0.0.1
search local.net.jp

DNS lookups on the local machine are never going to use the caching
namerserver, because the DHCP nameserver appears first in
resolv.conf. It needs to be the other way around. The contents of my
/etc/resolvconf/interface-order is the following:

  # interface-order(5)
  lo.inet*
  lo.dnsmasq
  lo.pdnsd
  lo.!(pdns|pdns-recursor)
  lo
  tun*
  tap*
  eth*
  ath*
  wlan*
  ppp*
  *

I have tried putting lo.pdnsd after eth*, but the result was the
same. 

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages resolvconf depends on:
ii  coreutils                     5.97-5.3   The GNU core utilities
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip

resolvconf recommends no packages.

-- debconf information:
  resolvconf/bad-pppconfig-hook:
  resolvconf/linkify-resolvconf: true
  resolvconf/disable-bad-hooks: true
  resolvconf/bad-pppoeconf-hook:
  resolvconf/downup-interfaces:
  resolvconf/link-tail-to-original: false
  resolvconf/bad-xisp-hook:







More information about the Resolvconf-devel mailing list