[Dnsmasq-discuss] Resolving .local names

john doe johndoe65534 at mail.com
Thu Nov 5 11:19:32 GMT 2020


On 11/5/2020 11:33 AM, Mukuntha rajaa wrote:
> Hi,
>
> I am working on a legacy application, which uses "xxxx.local" format names.
> I have setup dnsmasq in my system.
>
> /usr/sbin/dnsmasq -k --bind-interfaces
> --listen-address=127.0.0.1,192.168.101.101 --dns-forward-max=1000
> --cache-size=10000 --server 10.58.112.113
>
> If I run my application, which does getaddrinfo on "xxxx.local" as first
> step,I get
>
> "Name or service not known"
>
> Does dnsmasq not resolve ".local" names too ? How to resolve ".local" names
> ?
> All my resolutions are only within my machine. I am not entertaining any
> DNS resolution outside of my machine.
>

Look in the man page (1) for '--domain' or '--local'.


1)  http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

--
John Doe



More information about the Dnsmasq-discuss mailing list