Trouble Installing DNS

Discussion in 'Installation/Configuration' started by windowsxp2005, Nov 29, 2011.

  1. windowsxp2005

    windowsxp2005 New Member

    Hi Guys, I've trouble installing DNS on Centos 5.7.

    I've followed this guide. http://www.howtoforge.com/bind-installation-on-centos

    after changing some of the words to match my domain. I get this error as I try to restart the named daemon.

    Starting named:
    Error in named configuration:
    zone localhost/IN: loaded serial 42
    dns_rdata_fromtext: /var/named/xyz.com.zone:2: near eol: unexpected end of input
    /var/named/xyz.com.zone:3: unknown RR type '1H'
    zone xyz.com/IN: loading master file /var/named/xyz.com.zone: unexpected end of input
    _default/xyz.com/IN: unexpected end of input
    zone 1.168.192.in-addr.arpa/IN: loading master file /var/named/1.168.192.rev: file not found
    _default/1.168.192.in-addr.arpa/IN: file not found


    Any help would be really appreciated.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you post your /var/named/xyz.com.zone file?

    Please make sure that you use Unix linebreaks in the file, not Windows linebreaks (in case you created the file on a Windows PC and copied it then to the server).
     

Share This Page