LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-29-2008, 06:58 AM   #1
centosfan
Member
 
Registered: Jun 2003
Location: Royal City
Distribution: Cent os latest version
Posts: 218

Rep: Reputation: 32
I screwed something on nameserver/dns


Since JimBass said second name server should not be on same box and dns checker says it should not be in same class c,i dediced to change second name server on server powered with centos/whm.Previously,i used primary name server on another server powered by webmin,and secondary on whm server and that worked fine.I was simply create dns zone forwarded to ip adress of first name server,edited second line with name of first name server and that's it,and it work fine.But now i decided to same thing but with domain which primary name server have on whm server.So i create zone on webmin zone,edited it properly so there is no any error listed when i check domain on dnsstuff.But now after 12 hours,i see traffic has fall for 60%.And it should be raised,since purpose of name server on other server is to properly forward traffic which doesnt load site beacuse of bad response from primary name server.
So there are following solution,but i will need your assistence to pick proper solution:
1)Do nothing,problem could be in name server propagation.But again,it should not be happenning since purpose of secondary name server is to accept requests when primary name server fails
2)Change secondary name server of name server domain on whm server to name server of webmin server name server domain(frajkt.com from ns1.frajkt.com ns2.frajkt.com to ns1.frajkt.com ns1.domain1.com),do same with other domains hosted on name server and remove ns2.frajkt.com completly from worldwide dns servers
3)Add third name server from third server to all domains so then will be ns1.frajkt.com ns1.domain1.com ns1.frajkt.net
4)Retrive old setting on domain domain1.com(to ns1.frajkt.com and ns2.frajkt.com)Since i didnt backuped,i will need to delete dns zone,then create it again using whm

Also i will post content of zone files on both servers:
Frajkt.com(whm server) server zone file
PHP Code:
$TTL 14400
@       86400   IN      SOA     ns1.frajkt.comjacobkell.7223.net.     (
                                        
2007111405
                                        7200
                                        7200
                                        2419200
                                        86400
                                        
)

domain2.com.       86400   IN      NS      ns1.frajkt.com.
domain2.com.       86400   IN      NS      ns1.domain1.com.


domain2.com.       14400   IN      A       216.67.224.114

localhost
.domain2.com.     14400   IN      A       127.0.0.1

domain2
.com.       14400   IN      MX      0       domain2.com.

mail    14400   IN      CNAME   domain1.com.
www     14400   IN      CNAME   domain1.com.
ftp     14400   IN      CNAME   domain1.com.
domain2.com.       14400   IN      TXT     "v=spf1 a mx a:domain2.com ip4:216.67.224.114 ?all" 
domain1.com(webmin server) server zone file
PHP Code:
$ttl 14400
domain2
.com.    IN    SOA    ns1.domain1.comjacobkell.7223.net. (
            
2007111405
            7200
            7200
            2419200
            86400 
)
domain2.com.     IN      NS      ns1.frajkt.com.
domain2.com.     IN      NS      ns1.domain1.com.
ns1.domain1.comIN      A       72.232.224.18
ns1
.frajkt.com        IN      A       216.67.224.114
domain2
.com.     IN      A       72.232.224.18
localhost
.domain2.com.   IN      A       127.0.0.1
domain2
.com.     IN      MX      0       domain2.com.
mail     IN      CNAME   domain2.com.
www      IN      CNAME   domain2.com.
ftp      IN      CNAME   domain2.com
Please help.

Last edited by centosfan; 01-29-2008 at 08:01 AM.
 
Old 01-29-2008, 08:02 AM   #2
centosfan
Member
 
Registered: Jun 2003
Location: Royal City
Distribution: Cent os latest version
Posts: 218

Original Poster
Rep: Reputation: 32
Update:i had to replace domain names with domain1.com and domain2.com beacuse they have adult content and it seems that is against LQ rules.Also i noticed by checking site with 4 proxys 4-th proxy leads to root document of webmin server which means it doesnt forward at all,it leads to that server instead.So what i need to do to make that forward properly?
 
Old 01-29-2008, 09:27 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 65
Quote:
Originally Posted by JACOBKELL View Post
Update:i had to replace domain names with domain1.com and domain2.com beacuse they have adult content and it seems that is against LQ rules.

Thanks for doing so.
 
  


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
Not connecting to my DNS nameserver krisprasad Linux - Networking 3 10-30-2004 08:18 AM
BT Broadband DNS Nameserver Jaymac Linux - Networking 2 05-28-2004 09:36 AM
Gentoo DNS(nameserver)! Xerop Linux - Networking 3 05-20-2004 06:47 AM
DNS nameserver issue - pppsetup the_rydster Slackware 2 03-04-2004 09:09 AM
BIND: wildcard DNS and nameserver noisybastard Linux - Networking 0 10-05-2003 04:13 PM


All times are GMT -5. The time now is 01:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration