Support PTR queries for a specific service
authorRafał Miłecki <rafal@milecki.pl>
Wed, 10 May 2017 20:45:49 +0000 (22:45 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 12 May 2017 08:38:48 +0000 (10:38 +0200)
commit49fdb9f7a5454f7e11e8bcd621bff17cbf9da5ca
tree91ea6497ba6bc4f2550f2784dbe45e1e7f2cec4b
parent26ce7dca8085d34e6c3910680da51695f3508eec
Support PTR queries for a specific service

We should check if queried name starts with a _ to see if it is about a
specific service + domain.

Fixes: 70c66fbbcde86 ("Fix sending replies to PTR questions")
Reported-by: Cristian Morales Vega <cristian@samknows.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
dns.c