PDA

View Full Version : DNS records management


HBerni
11-18-2005, 08:46 AM
Error in HTML page, if I have dns records with a " in it, like my SPF records.

line in zone file:
@ TXT "v=spf1 a mx -all"

error in html page:
["@ A 82.146.60.55 ", 0, "id2328685"],
["@ TXT "v=spf1 a mx -all" ", 0, "id2328695"]

regards
Berni

HBerni
11-18-2005, 09:06 AM
Hi,

found out, that it was connected to a trailing space at the end of the txt record. After I removed that whitespace in the zone file, the error in the html page was gone.

Another thing is, that I cannot create a record for @ like
@ TXT "v=spf1 a mx -all"

My current zone-files look like this:

@ IN NS ns1.hombitzer.com.
@ IN NS ns2.hombitzer.com.
@ IN MX 10 mail
@ IN A 82.146.60.55
@ TXT "v=spf1 a mx -all"
mail IN A 82.146.60.55
www IN A 82.146.60.55
ftp IN A 82.146.60.55

regards
Berni