And what's in dns_srv.conf file ? On Tue, Dec 10, 2019 at 3:54 PM Geert Stappers < geert.stapp...@hendrikx-itc.nl> wrote:
> On Tue, Dec 10, 2019 at 03:17:41AM -0500, John Siu wrote: > > On Tue, Dec 10, 2019 at 3:07 AM Siji Sunny wrote: > > > On Tue, Dec 10, 2019 at 12:52 PM John Siu wrote: > > >> I tried with "default" in its own line, that gives error too. > > > > > > Will you please share dnsmasq.conf here. > > Which could and should have shared in the original post > > > > Following is my config: > > > > # DNS > > > > #dns-forward-max=4 > > > > # LOG > > #log-queries=extra # log all query for debugging > > #log-dhcp > > quiet-dhcp > > quiet-dhcp6 > > quiet-ra > > > > except-interface=enp1s0 > > #listen-address=::1,127.0.0.1,172.168.168.1 > > no-poll # don't poll /etc/resolv.con for change > > no-resolv # don't use /etc/resolv.conf > > bogus-priv # > > domain-needed # don't query upstream with hostname only > > expand-hosts # expend hostname with local domain > > rebind-localhost-ok > > #stop-dns-rebind # don't replace entry with local ip > > > > neg-ttl=3600 > > min-cache-ttl=3600 > > cache-size=10000 > > #log-async=10 > > > > ## local domain > > domain=int.johnsiu.com > > local=/int.johnsiu.com/ > > rebind-domain-ok=/int.johnsiu.com/ > > > > ## Server > > servers-file=/etc/dnsmasq.d/extra/dns_srv.conf > > Yeah > > > > ## forward dns : ipv4 > > #server=8.8.8.8 > > #server=8.8.4.4 > > #server=1.1.1.1 > > #server=1.0.0.1 > > #server=209.18.47.61 > > #server=209.18.47.62 > > #server=209.18.47.63 > > > > ## forward dns : ipv6 > > #server=2001:4860:4860::8888 > > #server=2001:4860:4860::8844 > > #server=2606:4700:4700::1111 > > #server=2606:4700:4700::1001 > > #server=2001:1998:f00:1::1 > > #server=2001:1998:f00:2::1 > > > > # dhcp : ipv4 > > > > ## LAN > > dhcp-range=tag:lan,172.16.168.130,172.16.168.250,72h > > dhcp-option=tag:lan,option:router,172.16.168.1 # option 3 default gw > > dhcp-option=tag:lan,6,172.16.168.1 # option 6 dns > > dhcp-option=tag:lan,option:ntp-server,172.16.168.1 > > ## DMZ > > dhcp-range=tag:dmz,10.10.10.100,10.10.10.120,72h > > dhcp-option=tag:dmz,option:router,10.10.10.1 # option 3 default gw > > dhcp-option=tag:dmz,6,10.10.10.1 # option 6 dns > > dhcp-option=tag:dmz,option:ntp-server,10.10.10.1 > > > > # dhcp : ipv6 > > > > enable-ra > > # Construct a valid IPv6 range from reading the address set on the > interface. > > # The ::1 part refers to the ifid in dhcp6c.conf. Make sure you get this > right or dnsmasq will get confused. > > dhcp-range=tag:lan,::1,constructor:lan,ra-names,12h > > dhcp-range=tag:dmz,::1,constructor:dmz,ra-names,12h > > > > # Static dhcp > > dhcp-hostsfile=/etc/dnsmasq.d/extra/lan_dmz.host > > > > > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > -- Siji -- <https://www.facebook.com/SugarBoxNetworks/> | <https://www.instagram.com/sugarboxnetworks/> | <https://in.linkedin.com/company/margo-networks-pvt.-ltd.>
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss