Tell me pls, what could be? On server 4 IP there are sites, one of them for example site.com. time passed and search engines began to go to him as:

ns.site.comns1.site.comns2.site.commx.site.com 

Accordingly, there was a blur of content. In general, I created domains for them in ISPmanager, but somehow it turned out to be buggy. When entering ns.site.com, a page is opened with what is needed with the inscription "ns".

The site ns1.site.com - again shows the same page "ns", although it should show the page "ns1" from the directory / site / ns1. The site ns2.site.com generally gives out that "Server not found". And the site mx.site.com behaves, as well as ns1.site.com, that is, gives out "ns", although it should be "mx".

Entries from httpd.conf are all correct:

 <VirtualHost 77.120.XXX.XXX:80> ServerName mx.site.com DocumentRoot /home/admin/data/www/site.com/mx AssignUserID ... CustomLog /home/httpd-logs/... ErrorLog /home/httpd-logs/... ServerAlias www.mx.site.com ServerAdmin ...</VirtualHost><VirtualHost 77.120.XXX.XXX:80> ServerName ns2.site.com DocumentRoot /home/admin/data/www/site.com/ns2 AssignUserID ... CustomLog /home/httpd-logs/... ErrorLog /home/httpd-logs/... ServerAlias www.ns2.site.com ServerAdmin ...</VirtualHost><VirtualHost 77.120.XXX.XXX:80> ServerName ns1.site.com DocumentRoot /home/admin/data/www/site.com/ns1 AssignUserID ... CustomLog /home/httpd-logs/... ErrorLog /home/httpd-logs/... ServerAlias www.ns1.site.com ServerAdmin ...</VirtualHost><VirtualHost 77.120.XXX.XXX:80> ServerName ns.site.com DocumentRoot /home/admin/data/www/site.com/ns AssignUserID ... CustomLog /home/httpd-logs/... ErrorLog /home/httpd-logs/... ServerAlias www.ns.site.com ServerAdmin ...</VirtualHost> 

in /var/named/etc/namedb/master/site.com

 $TTL 3600site.com. IN SOA ns1.site.com. root.site.com. (2011090258 10800 3600 604800 86400)site.com. IN NS ns1.site.com.site.com. IN NS ns2.site.com.site.com. IN MX 10 mailsite.com. IN MX 20 mailsite.com. IN A 77.120.XXX.XXXwww IN A 77.120.XXX.XXXftp IN A 77.120.XXX.XXXmail IN A 77.120.XXX.XXXsmtp IN A 77.120.XXX.XXXpop IN A 77.120.XXX.XXXsite.com. IN TXT "v=spf1 ip4:77.120.XXX.XXX a mx ~all"www.ns1 IN A 77.120.XXX.XXXns IN A 77.120.XXX.XXXwww.ns IN A 77.120.XXX.XXXns1 IN A 77.120.XXX.XXXns2 IN A 77.120.XXX.XXXwww.ns2 IN A 77.120.XXX.XXXmx IN A 77.120.XXX.XXXwww.mx IN A 77.120.XXX.XXX 

    2 answers 2

    Incorrectly configured dns. I can not exactly say what.

    • @ A 77.120.XXX.XXXwww A 77.120.XXX.XXX * A 77.120.XXX.XXX @ MX 10 site.com.ns1.registrator.comns2.registrator.comns3.registrator.com - YarNik
    • @yarnik These records are registered for each ip? - stanislav

    The issue is resolved. It was only necessary for the registrar to specify their name server.