LockedHC7 DNS managment

Author
Albert38
Senior Member
2007/08/07 09:11:20 (permalink)

HC7 DNS managment

I found the following problems with DNS management in HC

- When I edit a DNS record from the panel and add MX records they are removed when I save the DNS record. So manual adding MX records to DNS records is not posible. This is verry bad!!

I tried MS DNS and Simple DNS Plus with same results.
#1

9 Replies Related Threads

    Albert38
    Senior Member
    RE: HC7 DNS managment 2007/09/07 03:32:03 (permalink)
    quote:
    Originally posted by Albert38
    [br]I found the following problems with DNS management in HC

    - When I edit a DNS record from the panel and add MX records they are removed when I save the DNS record. So manual adding MX records to DNS records is not posible. This is verry bad!!

    I tried MS DNS and Simple DNS Plus with same results.


    Solved this HC uses a diferent format for the MX entry finaly I found the right format.

    Stays one thing that isn't easy to work with. When I create a DNS zone with the following (example) data:

    quote:
    \;
    ; Database file example.com.dns for example.com zone
    ; Zone version: 1

    example.com. IN SOA ns1.server.nl. admin.server.nl. (
    2007070824 ;serial
    3600 ;refresh
    600 ;retry
    1209600 ;expire
    3600 ) ;ttl

    ;
    ; Zone NS Records
    ;


    example.com. IN NS ns0.server.net.

    example.com. IN NS ns1.server.net.

    example.com. IN NS ns2.server.com.

    example.com. IN NS dns-import.server.nl.


    ns0.server.net. IN A 80.80.80.10

    ns1.server.net. IN A 80.80.80.128

    ns2.server.nl. IN A 80.80.80.240

    dns-import.server.nl. IN A 80.69.80.10



    example.com. IN A 10.10.10.10

    smtp.example.com. IN A 10.10.10.20

    portal.example.com. IN A 10.10.10.10

    mail.example.com. IN CNAME example.com.

    ftp.example.com. IN CNAME example.com.

    www.example.com. IN CNAME example.com.

    @ IN MX 10 smtp.example.com.

    @ IN MX 20 mailrelay.example.com.



    And save the record I get this in return the lines are switched and groups of NS, HOST and CNAME's are completly messed up. What belongs together doesn't stay together

    quote:

    ;
    ; Database file example.com.dns for example.com zone
    ; Zone version: 1

    example.com. IN SOA ns1.server.nl. admin.server.nl. (
    2007070825 ;serial
    3600 ;refresh
    600 ;retry
    1209600 ;expire
    3600 ) ;ttl

    ;
    ; Zone NS Records
    ;

    example.com. IN NS ns0.server.net.


    example.com. IN NS ns1.server.net.


    example.com. IN NS ns2.server.com.


    example.com. IN NS dns-import.server.nl.


    ns0.server.net. IN A 80.80.80.10

    mail.example.com. IN CNAME example.com.

    ftp.example.com. IN CNAME example.com.

    www.example.com. IN CNAME example.com.

    @ IN MX 10 smtp.example.com.

    @ IN MX 20 mailrelay.example.com.

    ns1.server.net. IN A 80.80.80.128

    ns2.server.nl. IN A 80.80.80.240

    dns-import.server.nl. IN A 80.69.80.10

    example.com. IN A 10.10.10.10

    smtp.example.com. IN A 10.10.10.20

    portal.example.com. IN A 10.10.10.10


    #2
    Albert38
    Senior Member
    RE: HC7 DNS managment 2007/09/07 12:28:48 (permalink)
    Somehow it seems that DNS zones created in this way are not being forwarded to other name servers. Anyone know's how to solve this.???

    A bit more clear if there is one zone file with an error it seems none of the zone's are forwarded. Realy need a solution for this, I use MS DNS
    #3
    crnunez
    Premium Member
    RE: HC7 DNS managment 2007/11/07 13:54:04 (permalink)
    quote:
    Originally posted by Albert38
    [br]Somehow it seems that DNS zones created in this way are not being forwarded to other name servers. Anyone know's how to solve this.???

    A bit more clear if there is one zone file with an error it seems none of the zone's are forwarded. Realy need a solution for this, I use MS DNS



    I dont believe that is possible. In the future maybe, but now, I dont have any tip for do it, at least if you have the mail server in the same box. If you have only www ftp dns, you can disable forward...

    Regards.

    R.N.
    #4
    Albert38
    Senior Member
    RE: HC7 DNS managment 2007/11/07 14:48:37 (permalink)
    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.
    #5
    Dhosting.co.uk
    Premium Member
    RE: HC7 DNS managment 2007/11/07 14:54:20 (permalink)
    We dont have any issues with secondary ns update!

    So not sure exactly what your experiencing.

    I do agree hc should do a bit more research into their dns structure.


    __________________
    Chris Daley
    Dwebs Ltd Director :: Company No. 05603664 :: Phone No. (UK) 0870 803 4423
    www.Dhosting.co.uk - Web Hosting, Domain Registration
    www.Dwebs.ltd.uk - Web Design & Other Services
    My views are my own and not those of my company.
    #6
    Albert38
    Senior Member
    RE: HC7 DNS managment 2007/12/07 08:32:25 (permalink)
    What is the DNS server software you use Chris ?
    #7
    Dhosting.co.uk
    Premium Member
    RE: HC7 DNS managment 2007/12/07 08:36:37 (permalink)
    MSDNS primary and secondary

    __________________
    Chris Daley
    Dwebs Ltd Director :: Company No. 05603664 :: Phone No. (UK) 0870 803 4423
    www.Dhosting.co.uk - Web Hosting, Domain Registration
    www.Dwebs.ltd.uk - Web Design & Other Services
    My views are my own and not those of my company.
    #8
    Albert38
    Senior Member
    RE: HC7 DNS managment 2007/12/07 15:19:38 (permalink)
    Oke Chris I use also MS DNS and default setup isn't working for me. I discoverd today something more. When I add for every zone the following to the windows registery it also works and I do not have to add a Host entrie for every secondary NS i use.
    quote:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones\example.com]
    "SecureSecondaries"=dword:00000002
    "NotifyLevel"=dword:00000002
    "SecondaryServers"="80.69.80.10"
    "NotifyServers"="80.69.80.10"

    domain name and IP addresses are samples.


    These values can also be added within the MS DNS mangemet tool. It would be nice if HC can preform these task as a part of the default DNS setup.
    With this added to the registery the final zone file becomes this.

    quote:

    ;
    ; Database file example.com.dns for example.com zone
    ; Zone version: 1

    example.com. IN SOA ns1.server.nl. admin.server.nl. (
    2007070825 ;serial
    3600 ;refresh
    600 ;retry
    1209600 ;expire
    3600 ) ;ttl

    ;
    ; Zone NS Records
    ;

    example.com. IN NS ns0.server.net.


    example.com. IN NS ns1.server.net.


    example.com. IN NS ns2.server.com.


    example.com. IN A 10.10.10.10


    mail.example.com. IN CNAME example.com.

    ftp.example.com. IN CNAME example.com.

    www.example.com. IN CNAME example.com.

    @ IN MX 10 smtp.example.com.

    @ IN MX 20 mailrelay.example.com.

    smtp.example.com. IN A 10.10.10.20

    portal.example.com. IN A 10.10.10.10




    The zone file has less entries and by switching on 'NotifyServers' a DNS update is directly transferd to your secondary nameserver(s).
    #9
    HC Team
    Hosting Controller
    RE: HC7 DNS managment 2007/07/18 11:48:31 (permalink)
    @Albert

    As we support 3 different DNS Servers therefore we follow the default basic conventions to create a zone file which are same for all supported DNS Servers.

    We have tested in our local environment and did not find any problem regarding resolution of site and secondary Name Servers. We use API to set secondary NS information in DNS console. If you have problem please contact support they will check it. Moreover, You might like to consult with this article to understand the format of zone file.

    ________________________
    HC Support Team
    support@hostingcontroller.com
    http://hostingcontroller.com
    +1-213-341-1419
    #10
    Jump to: