[Dnsmasq-discuss] Wildcard config question

Dominik dl6er at dl6er.de
Mon Jan 18 07:54:22 UTC 2021


On 18.01.21 00:34, Geert Stappers wrote:
> The websearch I did got me
>  address=/.apps.aaa.mylabb.lan/10.100.100.100
>
> note the dot

Leading dots are ignored (see
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blob;f=src/option.c;h=316d9c892054a17fc40646fd641f605b274175ba;hb=HEAD#l2565)


On 18.01.21 00:34, Geert Stappers wrote:
>> I add this line to my dnsmasq.conf file but dnsmasq crashes...
> 'crash' or "does not work as wanted"?

I second this question. You line works as expected for me (dnsmasq 2.82
though)

$ dig apps.aaa.mylabb.lan

; <<>> DiG 9.16.1-Ubuntu <<>> apps.aaa.mylabb.lan
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63427
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;apps.aaa.mylabb.lan.           IN      A

;; ANSWER SECTION:
apps.aaa.mylabb.lan.    2       IN      A       10.100.100.100

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Jan 18 08:51:00 CET 2021
;; MSG SIZE  rcvd: 64


Best,
Dominik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210118/d9581c51/attachment.htm>


More information about the Dnsmasq-discuss mailing list