[Dnsmasq-discuss] How to debug .TV and other tld

Rob Townley rob.townley at gmail.com
Tue Apr 12 02:27:06 BST 2016


duh ... address is doing exactly what it says it should do.  i am running
dnsmasq 2.48-16 CentOS6 which does not have --host-record yet, and
carelessly figured --address was the answer.

*-A, --address=/<domain>/[domain/][<ipaddr>]*Specify an IP address to
return for any host in the given domains. Queries in the domains are never
forwarded and always replied to with the specified IP address

Have to figure out how to upgrade because i want that --ipset option.

On Sun, Apr 10, 2016 at 10:44 PM, Rob Townley <rob.townley at gmail.com> wrote:

> #egrep -i 'tv|kodi|forum' /etc/dnsmasq.conf
> dhcp-host=23:24:13:60:91:FB,TV,10.10.10.88,10080m
> dhcp-host=59:6e:71:20:de:88,GoogleTV,10.10.10.145,86400m
> address=/mythtv/mythtv.pasture.homeip.net./10.10.10.6
> address=/TV/TV.farm.publicvm.com./10.10.10.88
> address=/GoogleTV/10.10.10.145
>
> # dnsmasq --test /etc/dnsmasq.conf
> dnsmasq: syntax check OK.
>
> # egrep -v '^#|dhcp-host|address|^$' /etc/dnsmasq.conf
> domain-needed
> bogus-priv
> no-resolv
> no-poll
> server=208.67.222.222
> server=208.67.220.220
> no-dhcp-interface=wan0
> expand-hosts
> domain=somewhere.publicvm.com.
> local-ttl=86400
> log-queries
> log-dhcp
> conf-dir=/etc/dnsmasq.d
> interface=lan1
> no-dhcp-interface=wan1
> domain=somewhere.publicvm.com.
> dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases
> dhcp-lease-max=75
> dhcp-option=lan,3,10.10.10.1
> dhcp-authoritative
> dhcp-range=lan,10.10.10.100,10.10.10.149,255.255.255.0,1440m
> stop-dns-rebind
>
>
>
>
>
>
>
> On Sun, Apr 10, 2016 at 1:41 PM, Rob Townley <rob.townley at gmail.com>
> wrote:
>
>> My dns entries are acting like Top Level Domains.  For instance, i have
>> host named TV:
>> nslookup tv
>> 10.10.10.88 (GOOD.  EXPECTED)
>> nslookup www.kodi.tv
>> 10.10.10.88  (BAD)
>> nslookup kodi.tv.    (dot at end)
>> 10.10.10.88
>> nslookup forum.kodi.tv
>> 10.10.10.88 (WORSE)
>>
>> nslookup bbc.tv
>> 10.10.10.88  (The world has ended.)
>>
>> nslookup anything.TabletPC3.
>> 10.10.10.103  (returns internal hostname of TabletPC3 instead of NXDOMAIN)
>>
>>
>> Where should i look?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160411/d3c02dd8/attachment.html>


More information about the Dnsmasq-discuss mailing list