Re: "if exists host-name" for IPv6 DDNS?

2011-09-23 Thread Joachim Tingvold
On Sep 23, 2011, at 09:21 GMT+02:00, Matthew Seaman wrote: >> Or replace :: with _, > > '_' is an illegal character in hostnames in the DNS… Oh, that slipped right passed me. I should know that "_" isn't valid. Thanks for the heads up, and for pointing out my fourth mistake in the same e-mail

Re: "if exists host-name" for IPv6 DDNS?

2011-09-22 Thread Joachim Tingvold
On Sep 23, 2011, at 01:32 GMT+02:00, David Miller wrote: >>> "2001:20a0:4000:300::123" would become "2001-20a0-4000-300-69". >> The result should of course be "2001-20a0-4000-300-123" (-: >> >> Sorry for the confusion. > ...or should the result be 2001-20a0-4000-0300----0123 ? Ideally

Re: "if exists host-name" for IPv6 DDNS?

2011-09-22 Thread Joachim Tingvold
On Sep 23, 2011, at 00:09 GMT+02:00, Joachim Tingvold wrote: > "2001:20a0:4000:300::123" would become "2001-20a0-4000-300-69". The result should of course be "2001-20a0-4000-300-123" (-: Sorry for the confusion. -- Joachim _

"if exists host-name" for IPv6 DDNS?

2011-09-22 Thread Joachim Tingvold
Hi, Is there any equivialent to the following syntax, that works with IPv6 DDNS? if exists host-name { ddns-hostname = lcase(option host-name); } else { ddns-hostname = binary-to-ascii(10, 8, "-", leased-address); } If the hostname the client provided already exists, it shou

Re: «tsig verify failure» only on some zones

2010-08-18 Thread Joachim Tingvold
On Wed, Aug 18, 2010, at 00:42:40AM GMT+02:00, Hauke Lampe wrote: What TSIG algorithms do you use and how long are the keys? HMAC-MD5, 128 bit. The keys are 24 chars long. I'll try to test with another algorithm, however I find it quite strange; if it works for some zones, why doesn't it wo

«tsig verify failure» only on some zones

2010-08-17 Thread Joachim Tingvold
Hi, I've been trying to wrap my head around this for a while now, so I thought I'd ask around here. For a while, I've had two nameservers, one master (let's call this NS1), one slave (let's call this NS2) -- which has been working flawlessly. They've both run BIND 9.6-ESV-R1 on Debian Len