Hello all,

I have dnsmasq setup with internal dhcp I have powerdns-recursor listening on 127.0.0.1 and tinydns is running on 127.53.0.1.

Hosts register in dnsmasq dhcpd without a problem, but they don't populate their PTR.. so that comes from tinydns instead of dnsmasq.. how can I fix that or change it so that hosts in dhcpd appear before going to tinydns?


below is my config:

bind-interfaces
domain-needed
expand-hosts
filterwin2k
resolv-file=/usr/local/etc/resolv.conf
listen-address=172.16.32.128
cache-size=4096
log-queries
log-facility=LOCAL7
server=/32.16.172.in-addr.arpa/127.53.0.1
server=/hvs.local/127.53.0.1

#server=/32.16.172.in-addr.arpa/172.16.32.8
#server=/hvs.local/172.16.32.8

dhcp-authoritative
#dhcp-host=00:13:72:e8:2f:9f,172.16.32.128
#dhcp-host=00:11:22:33:44:55,1.2.3.4,imac
#dhcp-host=00:11:22:33:44:55,,macbookpro

dhcp-leasefile=/var/db/dnsmasq.leases
dhcp-option=3,172.16.32.8       # Router
dhcp-option=42,172.16.32.128# NTP
dhcp-option=44,172.16.32.128# WINS
dhcp-option=46,2                        # Netbios Node Type
dhcp-option=6,172.16.32.128     # DNS
dhcp-option=vendor:MSFT,2,1i
dhcp-range=172.16.32.16,172.16.32.127,255.255.255.0,1h

domain=hvs.local
except-interface=lo0
interface=fxp0
group=nobody
no-negcache
user=nobody


Here is some dnsmasq log info:
Jan 1 16:54:00 isaiasm dnsmasq[18550]: compile time options: no-IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N TFTP Jan 1 16:54:00 isaiasm dnsmasq[18550]: DHCP, IP range 172.16.32.16 -- 172.16.32.127, lease time 1h Jan 1 16:54:00 isaiasm dnsmasq[18550]: using nameserver 127.53.0.1#53 for domain hvs.local Jan 1 16:54:00 isaiasm dnsmasq[18550]: using nameserver 127.53.0.1#53 for domain 32.16.172.in-addr.arpa Jan 1 16:54:00 isaiasm dnsmasq[18550]: reading /usr/local/etc/ resolv.conf
Jan  1 16:54:00 isaiasm dnsmasq[18550]: using nameserver 127.0.0.1#53
Jan 1 16:54:00 isaiasm dnsmasq[18550]: using nameserver 127.53.0.1#53 for domain hvs.local Jan 1 16:54:00 isaiasm dnsmasq[18550]: using nameserver 127.53.0.1#53 for domain 32.16.172.in-addr.arpa
Jan  1 16:54:00 isaiasm dnsmasq[18550]: read /etc/hosts - 1 addresses
..
8< snip
recursive dns queries
..
Jan 1 16:50:09 isaiasm dnsmasq[47183]: DHCPREQUEST(fxp0) 172.16.32.78 00:40:f4:57:f2:f8 Jan 1 16:50:09 isaiasm dnsmasq[47183]: DHCPACK(fxp0) 172.16.32.78 00:40:f4:57:f2:f8 hvs

root@isaiasm [/var/db]# 23 > arp -a
pfsense.hvs.local (172.16.32.8) at 00:18:4d:72:03:67 on fxp0 [ethernet]
node-54.hvs.local (172.16.32.54) at 00:16:b6:93:f6:67 on fxp0 [ethernet]
node-78.hvs.local (172.16.32.78) at 00:16:b6:93:f6:67 on fxp0 [ethernet]
hvsdevelopment.hvs.local (172.16.32.79) at 00:16:b6:93:f6:67 on fxp0 [ethernet]
Helen.hvs.local (172.16.32.116) at 00:13:20:73:06:4d on fxp0 [ethernet]
Acidophilus.hvs.local (172.16.32.117) at 00:13:20:6b:02:5d on fxp0 [ethernet] node-126.hvs.local (172.16.32.126) at 00:0c:f1:94:19:e9 on fxp0 [ethernet] nameserver.hvs.local (172.16.32.128) at 00:13:72:e8:2f:9f on fxp0 permanent [ethernet] broadcat.hvs.local (172.16.32.255) at ff:ff:ff:ff:ff:ff on fxp0 permanent [ethernet]

the node-$number entries come from tinydns.

any clue would be appreciated, thanks in advance

Reply via email to