Sponsored Content
Top Forums UNIX for Advanced & Expert Users Changing hosting company for one domain, how to deal with DNS? Post 303043359 by Neo on Sunday 26th of January 2020 03:55:18 AM
Old 01-26-2020
Hmmmm. 3600 is a very long time (for cutovers and changes to the network) and not really acceptable for transitions.

Plus, I'm not sure I trust this $TTL 3600 in your output.

Code:
172800          ; TTL

For your cached DNS entries, you can check the TTL as follows, as you provably know:

Code:
macos# nslookup
> set debug
> server ns1.linode.com
Default server: ns1.linode.com
Address: 162.159.27.72#53
> www.unix.com
Server:		ns1.linode.com
Address:	162.159.27.72#53

------------
    QUESTIONS:
	www.unix.com, type = A, class = IN
    ANSWERS:
    ->  www.unix.com
	internet address = 209.126.104.117
	ttl = 3600
    AUTHORITY RECORDS:
    ->  unix.com
	nameserver = ns2.linode.com.
	ttl = 3600
    ->  unix.com
	nameserver = ns1.linode.com.
	ttl = 3600
    ->  unix.com
	nameserver = ns3.linode.com.
	ttl = 3600
    ->  unix.com
	nameserver = ns5.linode.com.
	ttl = 3600
    ->  unix.com
	nameserver = ns4.linode.com.
	ttl = 3600
    ADDITIONAL RECORDS:
    ->  ns1.linode.com
	internet address = 162.159.27.72
	ttl = 300
    ->  ns1.linode.com
	has AAAA address 2400:cb00:2049:1::a29f:1a63
	ttl = 300
    ->  ns2.linode.com
	internet address = 162.159.24.39
	ttl = 300
    ->  ns2.linode.com
	has AAAA address 2400:cb00:2049:1::a29f:1827
	ttl = 300
    ->  ns3.linode.com
	internet address = 162.159.25.129
	ttl = 300
    ->  ns3.linode.com
	has AAAA address 2400:cb00:2049:1::a29f:1981
	ttl = 300
    ->  ns4.linode.com
	internet address = 162.159.26.99
	ttl = 300
    ->  ns4.linode.com
	has AAAA address 2400:cb00:2049:1::a29f:1b48
	ttl = 300
    ->  ns5.linode.com
	internet address = 162.159.24.25
	ttl = 300
    ->  ns5.linode.com
	has AAAA address 2400:cb00:2049:1::a29f:1819
	ttl = 300
------------
Name:	www.unix.com
Address: 209.126.104.117


And the query above confirms what is in our DNS setup:

Changing hosting company for one domain, how to deal with DNS?-screen-shot-2020-01-26-34730-pmjpg


As you can see from the next screen capture, I would set this to 5 minutes (300 seconds) if I was going to do a cut-over. I would never do a cutover with 1 hour (3600 second) TTL. This would be a receipt for a small disaster.

Changing hosting company for one domain, how to deal with DNS?-screen-shot-2020-01-26-35004-pmjpg


I suggest you check with a DNS tool (like I did above) to make sure your TTL is what you think it is.

Personally, I would not use any DNS provider which provides a minimum TTL of 1 hour. Actually, for me, that is "unheard of" for 3600 to be "the minimum", as the minimum TTL is normally 300 seconds, like I have demonstrated to you above.
These 2 Users Gave Thanks to Neo For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

So, like, I signed on with a new hosting company...

... and there was absolutely nothing installed except fedora and ssh. I used yum to install vsftp and httpd, both start and ps shows they're running, and yet I can't connect with either of them. Where on earth or in redhat do I begin looking to unravel this one? I've overseen a server before but... (3 Replies)
Discussion started by: Bobby
3 Replies

2. Solaris

change dns (domain name)

hi gurus, need to check other than the hosts file, what else i need to change after we have changed the domain name in our company. currently, we are using olddnsname.com and will change it to newdnsname.com. i am not sure where else in solaris i need to take a look. please advise. thank... (4 Replies)
Discussion started by: kim_custodio
4 Replies

3. IP Networking

Select DNS Servers depending on the domain

Hello, I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address. What I'd like is to... (4 Replies)
Discussion started by: martincastell
4 Replies

4. Linux

Configuring dns in local domain

Hi everybody, for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings: Voici mes fichiers de configuration: -... (2 Replies)
Discussion started by: beloge2002
2 Replies

5. UNIX for Advanced & Expert Users

Recommended Domain/Hosting Control Panels?

Looking for a recommendation - I'm looking for a reliable domain control panel (like cPanel) that is open source, and I can customize it do work into my work flow. Essentially, I need new users to be able to create a new account so that a) a new subdomain is created, or b) a full domain... (0 Replies)
Discussion started by: kettlewell
0 Replies

6. IP Networking

changing domain name in /etc

Hi, Im trying to change my domain name in my solaris as below: but it keeps coming back to be "unknown" Im changing /etc/inet/hosts.e1000g0\and also i added one line to /etc/nodename my vm (i have my solaris on VM)ip address is 192.168.1.103 and Im putting solar as a name for it ... (2 Replies)
Discussion started by: messi777
2 Replies

7. Shell Programming and Scripting

Command to flush specific domain in SunOS 5 DNS

Hello to all, May you help saying me how to flush a specific domain in Linux SunOS5 I know the command rndc is to flush DNS cache, but I would like to know: 1- How to do a flush only on specific domain 2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG... (2 Replies)
Discussion started by: Ophiuchus
2 Replies

8. Linux

Domain registrars & DNS servers

I have read many tutorials on bind and i understand the A,MX, CNAME records. Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine. On the Internet, when we have purchased a valid domain like... (5 Replies)
Discussion started by: coolatt
5 Replies

9. UNIX for Beginners Questions & Answers

Linux is not appending domain name in DNS query

In my /etc/resolv.conf file there is domain name defined. But when I do nslookup the domain name is not appended. Why? (18 Replies)
Discussion started by: broy32000
18 Replies
All times are GMT -4. The time now is 08:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy