[Bug 955785] [NEW] dnsmasq and resolvconf

Asmo Koskinen asmo.koskinen at arkki.info
Thu Mar 15 08:18:36 UTC 2012


Public bug reported:

This is updated Ubuntu 12.04.

I use ltsp-server-package, not ltsp-server-standalone.

I have installed dnsmasq and followed this howtos:

https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/
http://wiki.debian.org/NetworkConfiguration#The_resolvconf_program


Thin client boots very nicely, but there are no dns services:

root at lubuntu:~# cat /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 127.0.0.1


I use one nic:

root at lubuntu:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
	address 192.168.100.10
	netmask 255.255.255.0
	network 192.168.100.0
	broadcast 192.168.100.255
	gateway 192.168.100.1
	dns-nameservers 8.8.8.8 8.8.4.4


I can ping, but not with domain names:

root at lubuntu:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=43 time=51.2 ms

root at lubuntu:~# ping google.com
ping: unknown host google.com


My base is filled:

root at lubuntu:~# cat /etc/resolvconf/resolv.conf.d/base
nameserver 8.8.8.8
nameserver 8.8.4.4


How I make dns works in ltsp server with dnsmasq? I do not want go back 
to use two nics and ltsp-server-standalone.

root at lubuntu:~# dpkg -l | grep dnsmasq
ii  dnsmasq                            2.59-4 
             Small caching DNS proxy and DHCP/TFTP server
ii  dnsmasq-base                       2.59-4 
             Small caching DNS proxy and DHCP/TFTP server
root at lubuntu:~# dpkg -l | grep resolvconf
ii  resolvconf                         1.63ubuntu9 
             name server information handler


Best Regards Asmo Koskinen.

** Affects: ltsp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/955785

Title:
  dnsmasq and resolvconf

Status in “ltsp” package in Ubuntu:
  New

Bug description:
  This is updated Ubuntu 12.04.

  I use ltsp-server-package, not ltsp-server-standalone.

  I have installed dnsmasq and followed this howtos:

  https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
  http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/
  http://wiki.debian.org/NetworkConfiguration#The_resolvconf_program

  
  Thin client boots very nicely, but there are no dns services:

  root at lubuntu:~# cat /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 127.0.0.1

  
  I use one nic:

  root at lubuntu:~# cat /etc/network/interfaces
  # This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # The primary network interface
  auto eth0
  iface eth0 inet static
  	address 192.168.100.10
  	netmask 255.255.255.0
  	network 192.168.100.0
  	broadcast 192.168.100.255
  	gateway 192.168.100.1
  	dns-nameservers 8.8.8.8 8.8.4.4

  
  I can ping, but not with domain names:

  root at lubuntu:~# ping 8.8.8.8
  PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
  64 bytes from 8.8.8.8: icmp_req=1 ttl=43 time=51.2 ms

  root at lubuntu:~# ping google.com
  ping: unknown host google.com

  
  My base is filled:

  root at lubuntu:~# cat /etc/resolvconf/resolv.conf.d/base
  nameserver 8.8.8.8
  nameserver 8.8.4.4

  
  How I make dns works in ltsp server with dnsmasq? I do not want go back 
  to use two nics and ltsp-server-standalone.

  root at lubuntu:~# dpkg -l | grep dnsmasq
  ii  dnsmasq                            2.59-4 
               Small caching DNS proxy and DHCP/TFTP server
  ii  dnsmasq-base                       2.59-4 
               Small caching DNS proxy and DHCP/TFTP server
  root at lubuntu:~# dpkg -l | grep resolvconf
  ii  resolvconf                         1.63ubuntu9 
               name server information handler

  
  Best Regards Asmo Koskinen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/955785/+subscriptions




More information about the foundations-bugs mailing list