[Dnsmasq-discuss] local dns broke

john doe johndoe65534 at mail.com
Tue Jul 24 09:03:42 BST 2018


On 7/24/2018 7:47 AM, Carl Karsten wrote:
> On Tue, Jul 24, 2018 at 12:32 AM, Geert Stappers <stappers at stappers.nl> wrote:
>> On Mon, Jul 23, 2018 at 06:02:02PM -0500, Carl Karsten wrote:
>>> On Mon, Jul 23, 2018 at 4:16 PM, Geert Stappers <stappers at stappers.nl> wrote:
>>>>
>>>> What do the other client fine that the netplan client doesn't do?
>>>>
>>>
>>> resolve local names.
>>>
>>> xenial box:
>>> carl at twist:~$ host pc8
>>> pc8 has address 192.168.1.8
>>>
>>> carl at twist:~$ host trist
>>> trist has address 192.168.1.156
>>>
>>> bionic netplan:
>>> juser at dc10b:~$ host pc8
>>> Host pc8 not found: 2(SERVFAIL)
>>> juser at dc10b:~$ host trist
>>> Host trist not found: 2(SERVFAIL)
>>>
>>> juser at dc10b:~$ host pc8 192.168.1.8
>>> Using domain server:
>>> Name: 192.168.1.8
>>> Address: 192.168.1.8#53
>>> Aliases:
>>> pc8 has address 192.168.1.8
>>>
>>> juser at dc10b:~$ host trist 192.168.1.8
>>> Using domain server:
>>> Name: 192.168.1.8
>>> Address: 192.168.1.8#53
>>> Aliases:
>>> trist has address 192.168.1.156
>>>
>>>
>>> juser at dc10b:~$ cat /run/systemd/resolve/resolv.conf
>>> # [comments removed]
>>> nameserver 192.168.1.8
>>>
>>> juser at dc10b:~$ cat /etc/resolv.conf
>>> nameserver 127.0.0.53
>>
>>
>> My guess is that a domain name is missing, dc10b correct and twist wrong.
> 
> ah right, I don't have
> domain=something.com
> 
> I'm not sure I have gotten a straight answer about if/what domain name
> I should plug in.
> I have no interest of these names resolving outside of my lan, so what
> name should I use?
> 

One of those TLDS (.home' seems reasonable)'
                       home
                       internal
                       intranet
                       lan
                       local
                       private
                       test

Also have a look online for private TLDS, there is more to this.

-- 
John Doe



More information about the Dnsmasq-discuss mailing list