(09-07-2009 08:00 PM)Jockas Wrote: Hi,
Excuse my english, to start with :-)
I have a question about DNS.
When i generate a new domain in ispCP, it generates the nameservers with
the syntax ns1.somedomain.net, and ns2.somedomain.net.
But my primary nameserver is ns1.mynameserver.net and the secondary is
ns2.mynameserver.net
Why is it this way, when i use dnscheck.iis.se the test doesnt
get an OK !
Shouldnt all domains on my server use the primary and secondary nameservers ?
Regards
Joakim Ask, Sweden
change
/var/cache/bind/somedomain.net
or change
/etc/ispc/bind/parts/db_e.tpl and /etc/ispcp/bind/parts/db_master_e.tpl
from
Code:
$ORIGIN {DMN_NAME}.
@ IN SOA ns1.{DMN_NAME}. postmaster.{DMN_NAME}. (
; dmn [{DMN_NAME}] timestamp entry BEGIN.
{TIMESTAMP} ; Serial
; dmn [{DMN_NAME}] timestamp entry END.
8H ; Refresh
15M ; Retry
4W ; Expire
3H ; Minimum TTL
)
IN NS ns1.{DMN_NAME}.
IN NS ns2.{DMN_NAME}.
IN MX 10 mail.{DMN_NAME}.
to
Code:
$ORIGIN {DMN_NAME}.
@ IN SOA ns1.mynameserver.net. postmaster.{DMN_NAME}. (
; dmn [{DMN_NAME}] timestamp entry BEGIN.
{TIMESTAMP} ; Serial
; dmn [{DMN_NAME}] timestamp entry END.
8H ; Refresh
15M ; Retry
4W ; Expire
3H ; Minimum TTL
)
IN NS ns2.mynameserver.net.
IN NS ns1.mynameserver.net
IN MX 10 mail.{DMN_NAME}.
and regenerate the config file
http://www.isp-control.net/documentation...ate_config