[Dnsmasq-discuss] Help configuring dnsmasq .. badly!

dhandler@nycap.rr.com dhandler@nycap.rr.com
Mon, 27 Dec 2004 22:30:17 -0500


Greetings!

Well .. after being told about dnsmasq I decided to give it a shoot.  I was told it was much simplier then going through the motions of bind.  But after getting it installed and configured to what I figured was right my results are less then what was expected. Once I get this in (with the help of some kind person) I'm going to chalk this up to a really really big learning experience!

Let me give you the info:
Distro: Mandrake 10.1 Offical
Router: d-link DI-604 (router address is 192.168.0.1)

/etc/hosts file contains this:
127.0.0.1		linuxserver.handler.net linuxserver localhost
192.168.0.100		bigbox
192.168.0.101		win98
192.168.0.102		linuxserver

/etc/sysconfig/network contains this:
HOSTNAME=linuxserver
NETWORKING=yes
GATEWAY=192.168.0.1

/etc/dnsmasq/resolv.conf contains this:
search handler.net local
nameserver 192.168.0.10

/etc/dnsmasq.conf contains this (not including all the comment out info):
domain-needed
bogus-priv
filterwin2k
resolv-file=/etc/dnsmasq/resolv.conf
server=/localnet/192.168.0.10
local=/handler.net/
interface=eth0
expand-hosts
domain=handler.net
dhcp-range=192.168.0.100,192.168.0.150,12h

I do have a web address with dyndns.org which is handler.homeip.net I guess that's another story once I get this figured out!

Watching the messages log .. it looks pretty normal (meaning I don't see any errors).
Dec 27 22:05:10 linuxserver dnsmasq[7437]: started, version 2.15 cachesize 150
Dec 27 22:05:10 linuxserver dnsmasq[7437]: DHCP, IP range 192.168.0.100 -- 192.168.0.150, lease time 12h
Dec 27 22:05:10 linuxserver dnsmasq[7437]: using local addresses only for domain handler.net
Dec 27 22:05:10 linuxserver dnsmasq[7437]: using nameserver 192.168.0.10#53 for domain localnet
Dec 27 22:05:10 linuxserver dnsmasq[7437]: read /etc/hosts - 5 addresses
Dec 27 22:05:10 linuxserver dnsmasq[7437]: reading /etc/dnsmasq/resolv.conf
Dec 27 22:05:10 linuxserver dnsmasq[7437]: using nameserver 192.168.0.10#53
Dec 27 22:05:10 linuxserver dnsmasq[7437]: using local addresses only for domain handler.net
Dec 27 22:05:10 linuxserver dnsmasq[7437]: using nameserver 192.168.0.10#53 for domain localnet
Dec 27 22:05:10 linuxserver dnsmasq: dnsmasq startup succeeded

Yet .. when I do a lookup on say linuxserver it get this:
;; connection timed out; no servers could be reached

Even if I do a lookup on handler.homeip.net I get this same thing.  But if I head over to my XP box and do a nslookup on handler.homeip.net I get the same thing (except in windows lingo).

I do have the DNS servers my ISP uses they are (if its any help):
24.92.32.21
24.92.33.22
24.92.32.23

Could somebody please tell me what I'm going wrong?  If you need more info .. just ask I'll get it!

Thanks!

Handler