[Dnsmasq-discuss] local dns broke
Carl Karsten
carl at nextdayvideo.com
Tue Jul 24 16:15:23 BST 2018
adding domain=home helped sort of. I can now resolve other names on
my lan, but still not pc8.
pc8 is dnsmasq dhcp/dns for my lan, static ip 192.168.1.8
twist is ubunut xenial, seems to work ok
dc10b is ubuntu bionic that won't resolve pc8 unless I tell it server
192.168.1.8
before setting domain=home
carl at twist:~$ host dc10b
dc10b has address 192.168.1.185
carl at twist:~$ host pc8
pc8 has address 192.168.1.8
juser at dc10b:~$ host twist
Host twist not found: 2(SERVFAIL)
juser at dc10b:~$ host pc8
Host pc8 not found: 2(SERVFAIL)
after /etc/dnsmasq.d/local.conf
domain=home
carl at twist:~$ host dc10b
dc10b.home has address 192.168.1.185
carl at twist:~$ host pc8
pc8 has address 192.168.1.8
carl at twist:~$ host pc8.home
Host pc8.home not found: 3(NXDOMAIN)
juser at dc10b:~$ host twist
twist.home has address 192.168.1.199
juser at dc10b:~$ host twist.home
twist.home has address 192.168.1.199
juser at dc10b:~$ host pc8
Host pc8 not found: 2(SERVFAIL)
juser at dc10b:~$ host pc8.home
Host pc8.home not found: 3(NXDOMAIN)
juser at dc10b:~$ host pc8 192.168.1.8
Using domain server:
Name: 192.168.1.8
Address: 192.168.1.8#53
pc8 has address 192.168.1.8
juser at dc10b:~$ host pc8.home 192.168.1.8
Using domain server:
Name: 192.168.1.8
Address: 192.168.1.8#53
Host pc8.home not found: 3(NXDOMAIN)
On Tue, Jul 24, 2018 at 3:03 AM, john doe <johndoe65534 at mail.com> wrote:
> 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
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
On Tue, Jul 24, 2018 at 3:03 AM, john doe <johndoe65534 at mail.com> wrote:
> 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
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
--
Carl K
More information about the Dnsmasq-discuss
mailing list