0

Using dnsmasq, I can set new values for existing records, and add new records, event to a zone I don't own. But is it possible to mask or suppress an existing record ?

In my case I want a CNAME to be non existent and return status NXDOMAIN

I tried

cname=unwanted.example.org,

But dnsmasq would'nt start. I then tried

cname=unwanted.example.org,_

As this is ignored, I get the real CNAME record from the real DNS servers.

1 Answer 1

1
address=/unwanted.example.org/

--address=/example.com/ is equivalent to --server=/example.com/ and returns NXDOMAIN for example.com and all its subdomains.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .