Well after it has been verry still from the side of HCSUPPORT I finaly figured out how DNS works with HC7 and MS DNS. It isn't that easy as it look likes but it can be done.
HC has its own way in grouping the DNS enties.
NS (nameserver) lines are coming first.
Only 1 A (host) line is second
CNAME lines are third
MX lines are fourth
Aditional A (host) lines fifth
and TXT lines sixth.
HC does not understand that with MS DNS with every NS line a A (host) line comes. If you don't add a A (host) line to every nameserver line your DNS record is not updated on the secondary nameservers you have in your DNS zone. So the nameserver part must look like this.
quote:
example.com. IN NS ns0.server.net.
ns0.server.net. IN A 80.80.80.10
Note HC sort the lines as mentioned above so these line do not stay together in your zone file
All entries have a litle diference when created in a HC zone file as in a zonefile created with MS control tool. Where the MS DNS control tool creates a MX record in this way
quote:
@ MX[10] example.com.
does HC create the same line in this way.
quote:
Example.com. IN MX 10 example.com.
Its a litle different but it is more or less confusing. And if you add the MX record in HC on the MS way it will be deleted without notice.
Trying to add a SPF record there is also a litle diference.
quote:
;MS DNS way.
@ TXT v=spf1 a mx ~all
quote:
;HC way
Example.com. IN TXT "v=spf1 a mx ~all"
Don't forget the " " otherwise HC is not deleting the line but it is not functioning.
Well as you can see there are some diference that work confusing and that are not described. Afther some days of expirementing all seems to work fine.
Stays one thing open that is verry enoing. You can't add comments to the zone file. As we all know not all our custommers are knowing how to maintain a zone file so mistakes are made verry easy. Therfor it would be nice if we where able to do the folowing to our zone files.
1 - Add some comment lines to the zone file to warn custommers to not edit specific lines if they are not sure on what they are doing.
2 - Add some comment lines to the zone file to inform custommers on how to add entries and in what format.
3 - Make our own groups in the zone file so that it is clear what belogs together and must be grouped together. Without HC sorting entries.
I hope HC Support is finaly going to respond to this.