[Dnsmasq-discuss] Can't resolve hosts containing a 192.168.122.0/24 address

Tim Schumacher tim at datenknoten.me
Wed Jul 29 16:23:46 BST 2015


Hi folks,

I have created a domain „int.datenknoten.me“ which contains hosts from
a lan. I created A records, added SSHFP records and signed the
whole zone via DNSSEC, so I can verify the ssh fingerprints via
dns. One of these records is „login.int.datenknoten.me“ for
example. When I try to resolve this host via dnsmasq I get this:

> $ host -v login.int.datenknoten.me
> Trying "login.int.datenknoten.me"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35284
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

> ;; QUESTION SECTION:
> ;login.int.datenknoten.me.      IN      A

> Received 42 bytes from 192.168.1.1#53 in 32 ms
> Trying "login.int.datenknoten.me"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34478
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

> ;; QUESTION SECTION:
> ;login.int.datenknoten.me.      IN      AAAA

> Received 42 bytes from 192.168.1.1#53 in 1 ms
> Trying "login.int.datenknoten.me"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63137
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

> ;; QUESTION SECTION:
> ;login.int.datenknoten.me.      IN      MX

> ;; AUTHORITY SECTION:
> datenknoten.me.         1800    IN      SOA     ns3.datenknoten.me.
tim.datenknoten.me. 2015072101 3600 600 86400 600

> Received 86 bytes from 192.168.1.1#53 in 43 ms

I have attached my dnsmasq config. Any Idea how I can resolve my hosts
with dnsmasq?

greetings

Tim

-- 
I prefer to use encrypted email.
My public key fingerprint is 9055 4415 45C7 4387 9E80 1E90 0774 0725
A83D CDBB <https://datenknoten.me/fingerabdruecke>
Learn how to encrypt your email with the Email Self Defense guide
<https://emailselfdefense.fsf.org/>
-------------- next part --------------
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
localise-queries
read-ethers
expand-hosts
domain=lan
server=/lan/
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
addn-hosts=/tmp/hosts
conf-dir=/tmp/dnsmasq.d
stop-dns-rebind
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast

dhcp-host=00:15:5d:00:0b:01,192.168.1.5,debian



dhcp-range=lan,192.168.1.100,192.168.1.249,255.255.255.0,12h
no-dhcp-interface=eth0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150729/881ff469/attachment.sig>


More information about the Dnsmasq-discuss mailing list