[dnsdist] why do I have to add an \0x13 to the DNS name when using the expungeByName cache command?
Remi Gacogne
remi.gacogne at powerdns.com
Thu Apr 6 07:58:23 UTC 2017
Hi Seth,
On 04/06/2017 01:49 AM, Seth Orstein wrote:
> I find that to use the expungeByName cache command in dnsdist I have to
> end the name with \013, why is this?
>
> An example that works would be:
>
> getPool("mainpool"):getCache():expungeByName(newDNSName("google.com
> \013"))
>
> If I leave out the ending \013 in the DNS name, like so:
>
> getPool("mainpool"):getCache():expungeByName(newDNSName("google.com
> "))
>
> the entry is not deleted from the cache.
Well, it should. I just tried with dnsdist git master on Arch and it
works as expected without the "\013" (and doesn't work _with_ the
"\013"). Would you mind sharing the exact version you are running and on
which OS?
--
Remi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20170406/12d02e2a/attachment.sig>
More information about the dnsdist
mailing list