[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug 1441] DNS on laptops not working on thinclient-network (192.168.x.x)



http://bugs.skolelinux.org/show_bug.cgi?id=1441


Petter Reinholdtsen <pere@hungry.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Laptops not working on      |DNS on laptops not working
                   |thinclient-network          |on thinclient-network
                   |(192.168.x.x)               |(192.168.x.x)




--- Comment #2 from Petter Reinholdtsen <pere@hungry.com>  2010-02-05 14:41:16 ---
I was able to set up a test environment, and in my testing it only work to use
192.168.0.254 as the DNS server on a combined main-server+thin-client server (I
suspect machines behind a standalone thin-client-server will work).

When using 'host www 192.168.0.254', the reply get back, while using
'host www 10.0.2.2' results in host outputing ";; reply from unexpected source:
192.168.0.254#53, expected 10.0.2.2#53".

This make me believe the problem is with powerdns, failing to respond with
source address being equal to the address used when the DNS request came in.
I suspect this was not a problem with bind, as this used to work.

Searching, I found the thread starting at 
http://osdir.com/ml/network.dns.powerdns.user/2003-04/msg00095.html including
the
answer http://osdir.com/ml/network.dns.powerdns.user/2003-04/msg00106.html
where
a working solution is provided.

By setting "local-address=10.0.2.2, 192.168.0.254, 127.0.0.1" in
/etc/powerdns/pdns.c/pdns-debian-edu.conf, DNS work as it
should on the 192.168 network.  I tested starting powerdns with this
setting when no interface was configured with 192.168.0.254, and it still
started.  Because of this, I believe a fix is to change our pdns configuration
to have this setting by default.

This can be done in r1 with a package upgrade, or if Holger want it, in r0.


-- 
Configure bugmail: http://bugs.skolelinux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


Reply to: