#1  
Old 22nd July 2011, 15:26
Skprorok Skprorok is offline
Member
 
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
Default DNS doesn't work?

Hello!

I have two ISPconfig servers. ISPconfig 3.0.3.2 and 3.0.3.3. first is Ubuntu server 9.04 and second ubuntu server 10.10. I am trying to migrate first server to the second but when I copy a webpage from first to second and set up DNS it doesn't work. DNS records are same as on the first server. DNS service is running

Any help?

Thanks for replies!

Last edited by Skprorok; 22nd July 2011 at 15:26. Reason: Completions
Reply With Quote
Sponsored Links
  #2  
Old 22nd July 2011, 15:59
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

If you are moving a site from one to server to other, and, if with this the IP of the server is DIFFERENT, then, you MUST point records to new IP, and WAIT this records to expire in every server that preiously consulted yours...

My TTL for a record is 4 hours... If I change a site from on server to another, I have to wait 4 hours to access it (from internet).

See if you can play with this :P
Reply With Quote
  #3  
Old 22nd July 2011, 16:25
Skprorok Skprorok is offline
Member
 
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by erosbk View Post
If you are moving a site from one to server to other, and, if with this the IP of the server is DIFFERENT, then, you MUST point records to new IP, and WAIT this records to expire in every server that preiously consulted yours...

My TTL for a record is 4 hours... If I change a site from on server to another, I have to wait 4 hours to access it (from internet).

See if you can play with this :P
I have changed IP address and waited 48 hours but still not working. "same DNS records" I meant that i have all records (A, MX, ns1, ns2...) that i had on the first server (which I am migrating from)
Reply With Quote
  #4  
Old 23rd July 2011, 12:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Any errors in your logs?

Did you check your records with www.intodns.com ?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 23rd July 2011, 15:47
Skprorok Skprorok is offline
Member
 
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Any errors in your logs?

Did you check your records with www.intodns.com ?

Yes. I have checked intodns.com. You can check it if you want. http://www.intodns.com/kurz.sk. When a webpage is on old server everything is okay, but when I migrate webpage to the new server I have errors which you can see in the link.

Thx for reply
Reply With Quote
  #6  
Old 24th July 2011, 19:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Are you sure BIND is running on the new server? What are the outputs of
Code:
netstat -tap
and
Code:
iptables -L
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 25th July 2011, 14:51
Skprorok Skprorok is offline
Member
 
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
Default

netstat -tap

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:10025 *:* LISTEN 1455/master
tcp 0 0 *:mysql *:* LISTEN 946/mysqld
tcp 0 0 *:http-alt *:* LISTEN 1558/apache2
tcp 0 0 *:www *:* LISTEN 1558/apache2
tcp 0 0 *:tproxy *:* LISTEN 1558/apache2
tcp 0 0 *:ftp *:* LISTEN 32234/pure-ftpd (SE
tcp 0 0 servervg2.presta:domain *:* LISTEN 963/named
tcp 0 0 localhost:domain *:* LISTEN 963/named
tcp 0 0 *:ssh *:* LISTEN 827/sshd
tcp 0 0 *:888 *:* LISTEN 1578/3dm2
tcp 0 0 *:smtp *:* LISTEN 1455/master
tcp 0 0 localhost:953 *:* LISTEN 963/named
tcp 0 0 *:https *:* LISTEN 1558/apache2
tcp 0 52 servervg2.prestavka:ssh 18980094094.user.v:8404 SPOJENГќ 28055/sshd: [accept
tcp 0 0 servervg2.prestavka:ssh bband-dyn145.95-1:54723 SPOJENГќ 27996/sshd: skproro
tcp 0 0 servervg2.prestav:53733 93.184.70.61.vnet.s:www SPOJENГќ 27935/wget
tcp6 0 0 [::]op3 [::]:* LISTEN 1342/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 1308/couriertcpd
tcp6 0 0 [::]:ftp [::]:* LISTEN 32234/pure-ftpd (SE
tcp6 0 0 [::]:domain [::]:* LISTEN 963/named
tcp6 0 0 [::]:ssh [::]:* LISTEN 827/sshd
tcp6 0 0 localhost:953 [::]:* LISTEN 963/named
tcp6 0 0 [::]:imaps [::]:* LISTEN 1328/couriertcpd
tcp6 0 0 [::]op3s [::]:* LISTEN 1362/couriertcpd


iptables -L

Chain INPUT (policy DROP)
target prot opt source destination
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
DROP tcp -- anywhere loopback/8
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
DROP all -- base-address.mcast.net/4 anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
DROP all -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere

Chain INT_IN (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain INT_OUT (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere

Chain PAROLE (11 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain PUB_IN (4 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt:domain
PAROLE tcp -- anywhere anywhere tcp dpt:www
PAROLE tcp -- anywhere anywhere tcp dptop3
PAROLE tcp -- anywhere anywhere tcp dpt:imap2
PAROLE tcp -- anywhere anywhere tcp dpt:https
PAROLE tcp -- anywhere anywhere tcp dpt:mysql
PAROLE tcp -- anywhere anywhere tcp dpt:http-alt
PAROLE tcp -- anywhere anywhere tcp dpt:webmin
ACCEPT udp -- anywhere anywhere udp dpt:domain
DROP icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain PUB_OUT (4 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain fail2ban-ssh (1 references)
target prot opt source destination
DROP all -- 18980094094.user.veloxzone.com.br anywhere
RETURN all -- anywhere anywhere


Thanks
Reply With Quote
  #8  
Old 26th July 2011, 16:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Looks ok, but I can't resolve any records at all:

Code:
mh1:~# dig any kurz.sk

; <<>> DiG 9.3.4 <<>> any kurz.sk
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 18719
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;kurz.sk.                       IN      ANY

;; Query time: 119 msec
;; SERVER: 213.133.98.98#53(213.133.98.98)
;; WHEN: Tue Jul 26 17:33:20 2011
;; MSG SIZE  rcvd: 25

mh1:~#
Did you create glue records? http://en.wikipedia.org/wiki/Domain_...d_glue_records
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
dns

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Record Creation Doesn't Work elrako Installation/Configuration 5 19th May 2010 22:05
Minimal DNS server fabiosergio Installation/Configuration 1 5th April 2010 22:25
DNS - syncing multiple servers bss Server Operation 0 7th November 2007 17:52
DNS Issues Alam Installation/Configuration 3 11th November 2006 13:57
Reverse DNS disasm General 3 13th January 2006 19:43


All times are GMT +2. The time now is 12:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.