LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-15-2008, 06:27 PM   #1
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Rep: Reputation: 32
Problem with dns/name server in whm


For some reason,i added wrong ip adress during installation and setuping name server for ns2 of domain.So i changed now to proper ip adress,which is number next after ip adress of ns1.
But even i changed ip adress of ns2 on domain register,and then i added it on network setup/hostnames,it seems dns server of server is still screwed.I see that by checking server over dnschecker,and also when i go to add an a entry in basic cpanel/whm setup i see this:
Found your nameserver to be: ns2.domain.com
Found your domain name to be: domain.com
Found your nameserver name to be: ns2
Found your nameserver ip to be: 66.249.137.21
If this looks correct,
Add an a entry
As you can see,it shows old ip adress which is wrong instead proper server adress which should be.How do i fix that?
 
Old 01-16-2008, 06:16 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
W/o using a panel, maybe SSH to the machine, su to root, then 'grep -r' /etc for the IP address to see what configs it's still in and edit those by hand?
 
Old 01-16-2008, 07:47 AM   #3
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Original Poster
Rep: Reputation: 32
I typed grep -r /etc and i dont see anything
 
Old 01-16-2008, 01:16 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
I mean like
Quote:
Originally Posted by unSpawn View Post
'grep -r' /etc for the IP address
 
Old 01-16-2008, 03:09 PM   #5
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by unSpawn View Post
I mean like
grep: 66.249.137.21: No such file or directory
 
Old 01-16-2008, 05:46 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
Quote:
No such file or directory
Looks more like a failure in your commandline to me. Or maybe I did read your OP wrong. Are you trying to say you're messing with DNS records?
 
Old 01-16-2008, 06:44 PM   #7
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Seeing your other thread, I think the problem is not on your machine, but with the registrar. The way the root servers find your DNS servers is through your registrar pointing to them. You registered 2 addresses, one for ns1 and the other for ns2. If those addresses are wrong or change, you have to change them in 2 places. 1st on your machine, but more importantly so the public DNS system finds the changes, you need to change the addresses with your registrar.

Peace,
JimBass
 
Old 01-16-2008, 06:49 PM   #8
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Original Poster
Rep: Reputation: 32
I think register(godaddy)is ok since when i go to basic whm/cpanel and click on add an a entry i see that old adress.Nowhere else i see it,only on that function.
 
Old 01-22-2008, 01:49 AM   #9
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Original Poster
Rep: Reputation: 32
Resolved,i was simply need to edit db file of affected domain and that's it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Find out DNS Server Version With DNS Server Fingerprinting Tool LXer Syndicated Linux News 0 12-21-2007 05:30 PM
LXer: Find out DNS Server Version With DNS Server Fingeprinting Tool LXer Syndicated Linux News 0 12-21-2007 04:50 PM
DNS server problem aresgodofwar30 Fedora 8 06-23-2007 09:42 PM
quota problem in WHM - please help chadi Fedora 1 09-01-2004 01:06 AM
quota problem in WHM - please help chadi Linux - Software 0 08-31-2004 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration