
11th September 2011, 14:07
|
|
Junior Member
|
|
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
DNS problem
Hello,
i have multiserver instalation of ISPConfig 3 on Debian 6 Squeeze.
I have problem accessing my websites.
heres intodns.com problem report
Quote:
Mismatched NS records WARNING: One or more of your nameservers did not return any of your NS records.
Error DNS servers responded ERROR: One or more of your nameservers did not respond:
The ones that did not respond are:
|
On my servers, should etc/resolv.conf be set on my NS or my hosting's NS?
output of dig localhost xxxx.xxx
Quote:
; <<>> DiG 9.7.3 <<>> localhost XXXX.XXX
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34628
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;localhost. IN A
;; ANSWER SECTION:
localhost. 604800 IN A 127.0.0.1
;; AUTHORITY SECTION:
localhost. 604800 IN NS localhost.
;; ADDITIONAL SECTION:
localhost. 604800 IN AAAA ::1
;; Query time: 1 msec
;; SERVER: XXX#53(XXX)
;; WHEN: Sun Sep 11 14:00:37 2011
;; MSG SIZE rcvd: 85
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 59213
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;xxx.xx. IN A
;; Query time: 0 msec
;; SERVER: XXXX#53(XXXX)
;; WHEN: Sun Sep 11 14:00:37 2011
;; MSG SIZE rcvd: 33
|
output of dig xxxxx.xx
Quote:
; <<>> DiG 9.7.3 <<>> xxxx.xx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 45559
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;xxx.xxx. IN A
;; Query time: 1 msec
;; SERVER: XXXXX#53(XXXXX)
;; WHEN: Sun Sep 11 14:03:14 2011
;; MSG SIZE rcvd: 33
|
|

11th September 2011, 14:23
|
|
Senior Member
|
|
Join Date: Aug 2011
Location: Spain
Posts: 132
Thanks: 4
Thanked 14 Times in 13 Posts
|
|
You need create A record.
A ns1 111.222.333.444
It isn't the same as
A ns1.yourdomain.com 111.222.333.444
|

11th September 2011, 15:21
|
|
Junior Member
|
|
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thanks for reply. do you think something else than this?
|

11th September 2011, 15:36
|
|
Senior Member
|
|
Join Date: Aug 2011
Location: Spain
Posts: 132
Thanks: 4
Thanked 14 Times in 13 Posts
|
|
You need add new records.
A ns1 111.222.333.444
A ns2 111.222.333.444
I'm not sure if you use * instead ip this will works.
|

11th September 2011, 15:59
|
|
Junior Member
|
|
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|

is that correct now?
|

11th September 2011, 16:11
|
|
Senior Member
|
|
Join Date: Aug 2011
Location: Spain
Posts: 132
Thanks: 4
Thanked 14 Times in 13 Posts
|
|
Seems ok. What says intodns.com ?
Why your hostname is ns1.domain.tld ?
You can remove these:
A ns1.domain.tld
A ns2.domain.tld
|

11th September 2011, 16:34
|
|
Junior Member
|
|
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
unfortunately, problem is still same.
if you think last NS record, its name: my-product-domain.tld data: ns1.my-main-hosting-domain-running-ispc.tld
Quote:
root@ns1:/etc/bind# cat named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
root@ns1:/etc/bind# cat named.conf.local
zone "xxxxx.cz" {
type master;
allow-transfer {none;};
file "/etc/bind/pri.xxxxx.cz";
};
zone "yyyyy.com" {
type master;
allow-transfer {none;};
file "/etc/bind/pri.ccccc.com";
};
zone "ns1.xxxxx.cz" {
type master;
allow-transfer {none;};
file "/etc/bind/pri.ns1.xxxxxxxx.cz";
};
|
Quote:
root@ns1:/etc/bind# ls
bind.keys db.local named.conf.options rndc.key
db.0 db.root pri.xxxxx.cz slave
db.127 named.conf pri.yyyyy.com zones.rfc1918
db.255 named.conf.default-zones pri.ns1.xxxx.cz
db.empty named.conf.local pri.xxxxx.cz
|
Quote:
root@ns1:/etc/bind# cat pri.xxxxx.cz
$TTL 86400
@ IN SOA ns1.xxxxxx.cz. info.xxxxxxx.cz. (
2011091113 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
ns1 86400 A 111.222.333.444
ns2 86400 A 111.222.333.555
root@ns1:/etc/bind#
|
Last edited by (O)fer_cz; 11th September 2011 at 16:42.
|

11th September 2011, 16:41
|
|
Senior Member
|
|
Join Date: Aug 2011
Location: Spain
Posts: 132
Thanks: 4
Thanked 14 Times in 13 Posts
|
|
Exchange all * per ip
|

11th September 2011, 17:58
|
|
Junior Member
|
|
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
its still same.
if i ssh to my ns1 server, where i got resolv.conf set to my NS, i can ping google, but i cannt ping mywebsite.tld, ping: unknown host. ill try reinstall my NS server... thanks for help
|

11th September 2011, 21:52
|
|
Junior Member
|
|
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i have reinstalled ns and its working, thanks for help 
edit: maybye you dont have to reinstall server, just check, if you have permissions to access master db
i was switching IPs and didnt query modified commands
Quote:
CREATE USER 'root'@'192.168.0.106' IDENTIFIED BY 'myrootpassword';
GRANT ALL PRIVILEGES ON * . * TO 'root'@'192.168.0.106' IDENTIFIED BY 'myrootpassword' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
|
etc
Last edited by (O)fer_cz; 11th September 2011 at 23:50.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 20:36.
|
|
Recent comments
20 hours 19 min ago
23 hours 15 min ago
1 day 29 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 2 hours ago