Adding domainkey record fails

btbouwens

Verified User
Joined
May 27, 2007
Messages
9
I'm trying to add a TXT for my domainkey record through this web interface,
but it is refused. Maybe the interface has a limited length for the content
that is too tight?
 
I just successfully added a 60-character txt record through the control panel, without error.

Exactly what are you trying to add?

Jeff
 
Well, for DKIM 60 chars isn't much. The value I was trying to put was
"v=DKIM1; k=rsa; t=y; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5d62Jd5ST5EySxgitfN7wstxmmvVA+E1oPrYm8EnXAphVd/9M5DJKGRh9jOOJ8W35iZaRlz6IMIacCtjzwblNHvh/XV0/bvDOSKiWTb+AAlMXD+Os6cdwp8Vxmc71p+ZfwidnAjfHOEOOFy6l25Yxi7RZU3txC+dnsYUaJDFv4wIDAQAB"

(that should be a single line but this input box breaks it).

So to me it's plausible that a length restriction is forbidding it,
while I think the DNS specs allows this just fine. I put a similar
record in for a different domain that's registered at zoneedit.com,
which uses a very different user interface.
There are some indications that DKIM is getting some support here
and there, so me thinks DNS editing tools should not stand in its way.
 
Next to that. Maybe DirectAdmin doesn't like the `key' either?
I think it has to be like janus._domainkey.mydomain.org.
and indeed I can imagine that this doesn't pass some criterion.
Obviously I haven't read the full specs of DirectAdmin yet,
maybe I should look for them.
 
I guess DA staff will have to take a look at it, as it's DA compiled code that's causing the problem.

Jeff
 
Hello,

I'm not able to duplicate that... I entered:
Code:
"v=DKIM1; k=rsa; t=y; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5d62Jd5ST5EySxgitfN7wstxmmvVA+E1oPrYm8EnXAphVd/9M5DJKGRh9jOOJ8W35iZaRlz6IMIacCtjzwblNHvh/XV0/bvDOSKiWTb+AAlMXD+Os6cdwp8Vxmc71p+ZfwidnAjfHOEOOFy6l25Yxi7RZU3txC+dnsYUaJDFv4wIDAQAB"
into the TXT record in the Admin Level -> DNS Administration -> asdf.com -> Add TXT record. The "quotes" were also included... it got added ok, no errors.

Which OS are version of DA are you running, in case it's OS specific. I'll give it a test there as well.

Also, are you getting this error?:
Cannot Add Record
You must provide a valid name and value

If so, the filtering would be valid for pretty much anything ascii, anything from space through to ~ (www.asciitable.com). No newlines allowed.
If you have a special charset in your browser, that may be passing a different encoding of a character which might not fall within that range.. couldn't say for sure.

John
 
OK, so I tried again, and it turns out that indeed I can have this value
in a TXT record. But that's for the name "bouwens.org."
When I give the name "janus._domainkey.bouwens.org." it is refused,
and that's the name it should have.
 
To answer your questions: the DirectAdmin version is 1.297, I think
it's running on Linux, and the characters are all ASCII, so I don't
expect a problem there as ascii is a subset of both: ISO-8859-1 and UTF-8.
 
I think
it's running on Linux

Of course its running Linux but I think they want to know which Linux. There are many different varieties. Just like with Windows there is Windows 95, 98, 98SE, ME, XP, Vista. They want to know which Linux distribution you are running.
 
Well, I'm not really sure. The machine belongs to my provider (1mhosting.nl).
The one I can ssh in to :

[btbouwens@s02 ~]$ uname -a
Linux s02.1mhosting.com 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 10:11:19 EST 2007 i686 i686 i386 GNU/Linux
[btbouwens@s02 ~]$ cat /etc/issue
CentOS release 4.4 (Final)

... but I can't be sure that's the same machine that provides the
DirectAdmin interface.

If I owned the machine I'd probably just edit the zone file by hand :)
 
John, is DA's DNS interface blocking on the underscore? My guess is that's the problem.

Jeff
 
yes, that's what I meant by the index.. I wanted to say "key" for the data, but that would likely have been confused for the "domain key".
In any case, "the one on the left" ;)

John
 
Back
Top