LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-28-2015, 08:38 AM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Force update of DNS records?


Hi,

I'm currently installing a website for a client. The system is running Slackware64 14.1 on a public root server. The client has bought the domain name "jouelacommewarren.com" at the french registrar OVH. Until now, DNS records have been managed by OVH's DNS servers.

First thing I did was to configure and activate BIND on the public root server, because I prefer managing DNS this way. Here's what /var/named/zone.jouelacommewarren.com looks like:

Code:
; /var/named/zone.jouelacommewarren.com
$TTL 86400
$ORIGIN jouelacommewarren.com.
@ IN SOA ns.jouelacommewarren.com. hostmaster.jouelacommewarren.com. (
   2015102801   ; sn
        10800   ; refresh (3 heures)
          600   ; retry (10 minutes)
      1814400   ; expiry (3 semaines)
        10800 ) ; minimum (3 heures)
        IN             NS      ns.jouelacommewarren.com.
        IN             NS      nssec.online.net.
        IN             MX      10 redirect.ovh.net.
jouelacommewarren.com. A       62.210.236.71
ns      IN             A       62.210.236.71
mail    IN             A       62.210.236.71
www     CNAME                  jouelacommewarren.com.
ftp     CNAME                  jouelacommewarren.com.
Here's a funny thing. When I connect to two different public servers that I manage, the new DNS records show up correctly on these two machines. Here's the first server:

Code:
[root@sd-48975:~] # hostname --fqdn
sd-48975.dedibox.fr
[root@sd-48975:~] # host jouelacommewarren.com
jouelacommewarren.com has address 62.210.236.71
jouelacommewarren.com mail is handled by 10 redirect.ovh.net.
Here's the second server:

Code:
[root@sd-41893:~] # hostname --fqdn
sd-41893.dedibox.fr
[root@sd-41893:~] # host jouelacommewarren.com
jouelacommewarren.com has address 62.210.236.71
jouelacommewarren.com mail is handled by 10 redirect.ovh.net.
But on the workstation on my local network, I still get the old record:

Code:
[kikinovak@alphamule:~] $ hostname --fqdn
alphamule.microlinux.lan
[kikinovak@alphamule:~] $ host jouelacommewarren.com
jouelacommewarren.com has address 213.186.33.5
jouelacommewarren.com mail is handled by 10 redirect.ovh.net.
Now I made sure to empty all local caches on the server, both Dnsmasq and Squid, but I still get the old DNS records. The local server is querying my ISP's DNS servers:

Code:
# /etc/dnsmasq.conf
domain-needed
bogus-priv
interface=eth1
dhcp-range=192.168.2.100,192.168.2.200,24h
local=/microlinux.lan/
domain=microlinux.lan
expand-hosts
no-resolv
# Nerim
server=195.5.209.150
server=194.79.128.150
...
Question to the DNS gurus: is there a way to force updating of the DNS records here? Or do I have to wait for a few hours or maybe days until this gets eventually done?

Cheers,

Niki
 
Old 10-28-2015, 09:57 AM   #2
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Problem solved automagically after a few hours.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix force to use MX records crazygravy Linux - Newbie 1 09-16-2014 12:42 AM
DNS NS's in registrar vs DNS NS records sopiaz57 Linux - Networking 7 06-06-2009 06:20 PM
DNS Zone Records - MX Records ddzc Linux - Software 8 05-24-2007 01:26 PM
How DNS can be configured , to update records dynamically; when using DHCPd?????????? mwj Linux - Software 3 03-20-2004 11:01 AM
Force update of dns cache? DrJones Linux - Networking 2 11-17-2003 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration