[Dnsmasq-discuss] dnsmasq doesn't pick up search domains
Geert Stappers
stappers at stappers.nl
Thu Jun 4 17:44:51 BST 2020
On Thu, Jun 04, 2020 at 12:52:13PM +0000, Benzler, Andreas (INE) wrote:
> Am Donnerstag, den 04.06.2020, 12:44 +0200 schrieb Matus UHLAR - fantomas:
> > On 04.06.20 08:17, Benzler, Andreas (INE) wrote:
> > > The installation is just simple:
> > >
> > > port=53
> > > domain-needed (doesn't matter with or without)
> > > bogus-priv
> > > resolv-file=/etc/dnsmasq-resolv.conf
> > > strict-order
> > > server=8.8.8.8
> > > server=8.8.4.4
> > > address=/somedomain.net/192.168.0.1
> > > interface=enp4s0f0
> > > except-interface=lo
> > > expand-hosts
> > >
> > > /etc/dnsmasq-resolv.conf
> > > search intranet.somedomain.edu. somedomain.edu.
> > >
> > > ping mybox (mybox.intranet.somedomain.edu.)
> > >
> > > nslookup mybox
> > > Server: xx.xx.xx.xx
> > > Address: xx.xx.xx.xx#53
> > >
> > > Non-authoritative answer:
> > > *** Can't find mybox: No answer
> > >
> > > but fqn works mybox.intranet.somedomain.edu.
> > >
> > > ????
> > >
> > > please explain.
> >
> > try the --domain option.
> > note that usually adding .domain is not a job of DNS server, but a
> > job of
> > system resolver.
> >
> >
> To clarify the question:
>
> In principial the search part of resolv.conf is a client side solution,
> but in the other hand why we can not picked it up?
>
> I saw many questions about: Why dnsmasq do take no use of "search".
>
> Simple users do think this way.
>
> The domain option doesn't take the effect, because it isn't that kind
> of option.
>
> Greetings
> Andreas Benzler
>
> Karlsruher Institut für Technologie (KIT)
> Abteilung
> Institut für Nukleare Entsorgung (INE)
>
> Informatik/Systemadministration
>
> Hermann-von-Helmholtz-Platz 1
> Gebäude 712
> 76344 Eggenstein-Leopoldshafen
>
> Telefon: +49 721 608 - 22082
> E-Mail: andreas.benzler at kit.edu
> Web: http://www.kit.edu/
>
> KIT – Universität des Landes Baden-Württemberg und
> nationales Forschungszentrum in der Helmholtz-Gemeinschaft
>
Hey, that looks good.
I'm looking forward to the real description of the "problem".
Geert Stappers
--
Silence is hard to parse
More information about the Dnsmasq-discuss
mailing list