Resolve DNS Issues On Cpanel 11.x Beta
I have come accross an issue with DNS in cpanel 11.x , where named.conf is badly configured by cpanel ,
Here is how a DNS report from dnsstuff.com would look because of this :
FAILS for SOA record
Fails for lame nameservers .
Here's how to fix it ,
SSH to server ,
Backup your named.conf file by
cp /etc/named.conf named.conf.back
then
pico /etc/named.conf
Replace
Code:
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};
options
{
/* make named use port 53 for the source of all queries, to allow
* firewalls to block all ports except 53:
*/
query-source port 53;
// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
};
logging
{
/* If you want to enable debugging, eg. using the 'rndc trace' command,
* named will try to write the 'named.run' file in the $directory (/var/named).
* By default, SELinux policy does not allow named to modify the /var/named directory,
* so put the default debug log file in data/ :
*/
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
// All BIND 9 zones are in a "view", which allow different zones to be served
// to different types of client addresses, and for options to be set for groups
// of zones.
//
// By default, if named.conf contains no "view" clauses, all zones are in the
// "default" view, which matches all clients.
//
// If named.conf contains any "view" clause, then all zones MUST be in a view;
// so it is recommended to start off using views to avoid having to restructure
// your configuration files in the future.
view "localhost_resolver"
{
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
* If all you want is a caching-only nameserver, then you need only define this view:
*/
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
zone "." IN {
type hint;
file "/var/named/named.ca";
};
/* these are zones that contain definitions for all the localhost
* names and addresses, as recommended in RFC1912 - these names should
* ONLY be served to localhost clients:
*/
include "/var/named/named.rfc1912.zones";
};
view "internal"
{
/* This view will contain zones you want to serve only to "internal" clients
that connect via your directly attached LAN interfaces - "localnets" .
*/
match-clients { localnets; };
match-destinations { localnets; };
recursion yes;
zone "." IN {
type hint;
file "/var/named/named.ca";
};
// include "/var/named/named.rfc1912.zones";
// you should not serve your rfc1912 names to non-localhost clients.
// These are your "authoritative" internal zones, and would probably
// also be included in the "localhost_resolver" view above :
};
view "external"
{
/* This view will contain zones you want to serve only to "external" clients
* that have addresses that are not on your directly attached LAN interface subnets:
*/
match-clients { !localnets; !localhost; };
match-destinations { !localnets; !localhost; };
recursion no;
// you'd probably want to deny recursion to external clients, so you don't
// end up providing free DNS service to all takers
// all views must contain the root hints zone:
zone "." IN {
type hint;
file "/var/named/named.ca";
};
// These are your "authoritative" external zones, and would probably
// contain entries for just your web and mail servers:
// BEGIN external zone entries
With
Code:
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};
And then goto bottom of the file and remove
}; at the bottom .
Save file and exit
then test config
service named configtest
if you have done this correctly , it should display something like this:
zone blue.xxx.com/IN: loaded serial 2007070901
zone xxx.com/IN: loaded serial 2007070906
zone ns1.xxx.com/IN: loaded serial 2007070901
zone server.xxx.com/IN: loaded serial 2007071001
zone xxx.net/IN: loaded serial 2007071001
Then restart named by
service named restart
your DNS should be working now .
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Domain Does Not Resolve :: Domain Name Server (DNS) Issues
I've been having some DNS problems with one of my domains for quite some time now. The domain does not always resolve - some go days without being able to access the site. I ran a simple BASH script to show what I mean. I replaced my domain with "mysite.net" and the IP with "xx.xx.xxx.xxx". # for i in `seq 1 15`; do host mysite.net; done mysite.net has address xx.xx.xxx.xxx mysite.net mail is handled by 0 mysite.net. Host mysite.net not found: 2(SERVFAIL) mysite.net has address xx.xx.xxx.xxx Host mysite.net not found: 2(SERVFAIL) mysite.net has address xx.xx.xxx.xxx Host mysite.net not found: 2(SERVFAIL) mysite.net has address xx.xx.xxx.xxx Host mysite.net not found: 2(SERVFAIL) mysite.net mail is handled by 0 mysite.net. mysite.net has address xx.xx.xxx.xxx Host mysite.net not found: 2(SERVFAIL) Host mysite.net not found: 2(SERVFAIL) mysite.net has address xx.xx.xxx.xxx Host mysite.net not found: 2(SERVFAIL) mysite.net mail is handled by 0 mysite.net. mysite.net has address xx.xx.xxx.xxx mysite.net mail is handled by 0 mysite.net. mysite.net has address xx.xx.xxx.xxx mysite.net mail is handled by 0 mysite.net. mysite.net has address xx.xx.xxx.xxx mysite.net mail is handled by 0 mysite.net. mysite.net has address xx.xx.xxx.xxx Host mysite.net not found: 2(SERVFAIL) mysite.net has address xx.xx.xxx.xxx mysite.net mail is handled by 0 mysite.net. mysite.net has address xx.xx.xxx.xxx mysite.net mail is handled by 0 mysite.net. mysite.net has address xx.xx.xxx.xxx mysite.net mail is handled by 0 mysite.net. mysite.net has address xx.xx.xxx.xxx mysite.net mail is handled by 0 mysite.net. Has anyone experienced a similar problem? I have gone over the DNS records countless times and see no problems. The site is hosted on my own dedicated server.
View Replies!
View Related
DNS Issues With CPanel
Has anyone else experienced strange DNS issues recently? Upon cPanel update, some DNS zones rebuild themselves which causes various other problems. For example, last night in the cPanel update, my server's main domain's DNS zone rebuilt resulting in the hostname and ns1 & ns2 going down causing problems for the rest of them. I've also received error emails about named going down after cPanel updates. I have asked around and apparently it's not only me? Are cPanel releasing some bugs of DNS in their cPanel updates... should someone let them know?
View Replies!
View Related
DNS :: Domains Will Not Resolve
I've been having this problem for a while now. I have a dedicated linix server running with the cpanel. I've setup my own nameservers and for the most part it all runs without a problem. However, every now and then the domains will not resolve for many people. This may only last a few minutes but it happens regularly. There doesn't seem to be any pattern. The server is still available via IP address. Also, any domain name set as a nameserver with the registrar is not affected by this problem. All other domains are affected. This problem has persisted over many cpanel updates. I have gone through all the nameserver files (I can think of or have read about) looking for something that may be causing this but everything looks normal.
View Replies!
View Related
How Make Dns Resolve Fast
how do i speed up dns resolving my website. It is taking much time about 5-8 seconds. My site is phpfavorites.com usually when i type youtube.com and like other websites, those sites load much faster than anything. Is this dns or any other issue>
View Replies!
View Related
DNS Issues - Domain Not Resolving Sometimes
Does anyone have experience with DNS issues? I'm hosting a few sites with LiquidWeb (freeteams.net and laxteams.net are the big ones), who's been a terrific host, but I occasionally have some issues trying to access my sites. It occurs only occasionally (maybe 10-20 people have let me know in the past year), but with users in different locations and on different ISPs. It seems to also only occur for a couple of hours. When they try to type in a specific domain, it won't show up in their browser (browser-independent, I've tried it in Chrome, IE, and Firefox.) However, when they try the IP address directly, the site works. I have about 4 sites on one server, all with their own IP address, and the issue doesn't affect all the domains at the same time. LiquidWeb says it's an ISP issue (they've checked all the settings on the server, and everything looks ok.) I tend to agree with them, because when I or my users switch from using their ISP's DNS server to OpenDNS' server, it works. However, it's happened at a number of different ISPs around the U.S., including universities, which makes me think there's something I can do to solve the problem. Also, I don't want users to have to change their computer settings. Also, while I can't access the domain in the browser, I am able to ping the domain, and it will respond.
View Replies!
View Related
DNS Issues On LOCAL Network
Okay, so here's the issue. I've been searching for a solution for about a week now, and just can't seem to find any information. The company that I work for had me switch their site live so I went through and changed the DNS information and pointed the A records to the new server running an online store. I waited and waited and waited for the propagation to finish so I could keep working on developing the site. I talked to our hosting company and they assured me that they were being pointed to the new server and there was no issue. I changed the DNS on my own computer to point to openDNS and I could see that it did in fact change. We are now two weeks into the change and we can still not view the site from our network. I am in need of any ideas you can give me! If you ping the site with the default DNS server you receive the old IP Address but if you ping it with the openDNS IP in place, you receive the IP of the new server. I've gone through and run a /flushdns, /release, and /renew. I am working from a mac so advice geared towards this would be helpful however, I do have access to several machines running XP. Again, the site has propagated across the internet, just not in our office. I look forward to and appreciate any insight that you can offer with all of your eclectic wisdom.
View Replies!
View Related
DNS Resolution Issues. Whos Fault Is It
Recently ive gone through lot's of providers, and my latest one computhings.co.uk (was recommended) has recently lost support (their license expired) and my domain is having problems! I tried a tracert to track the problem and i get an error in resolving the domain name. My DNS servers are set to where they should be, and i can get to the servers via a web browser (ns1/ns2) but when accessing my domain i get a server not found. Is this my fault or their fault? As if its mine i will hang on and if its theirs im moving servers today!
View Replies!
View Related
DNS :: The Hostname (server.servername.com) Resolves To . It Should Resolve To Xx.xx.xxx.xxx
5 hours back I got fails of services mails and then I restart VPS but after few minuts services status up but sites not working. I contact with support and they told me "Service Named is down on your server". Any how they update Cpanel, during updation I got email that with subject Quote: [ipcheck] Problems with dns setup on server.servername.com The hostname (server.servername.com) resolves to . It should resolve to xx.xx.xxx.xxx. Support added entries for me, but sites still not up. They again updating CPANEL. Seems they unable to solve problem.
View Replies!
View Related
DNS Issues Rndc.conf & Named.conf
It started with this error: Bind reloading on server01 using rndc zone: [ns1.mydomain.net] Error reloading bind on server01: rndc: connect failed: 127.0.0.1#953: connection refused so i did the obvious checked the csf firewall to see if port 953 was enabled and it was so i took a look at rndc.conf Code: root@server01 [~]# nano /etc/rndc.conf #start of rndc.conf key "rndc-key" { algorithm hmac-md5; secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M="; }; options { default-key "rndc-key"; default-server 127.0.0.1; default-port 953; }; # End of rndc.conf # Use with the following in named.conf, adjusting the allow list as needed: #key "rndc-key" { # algorithm hmac-md5; # secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M="; #}; # # controls { # inet 127.0.0.1 port 953 # allow { 127.0.0.1; } keys { "rndc-key"; }; # }; # End of named.conf Then i took a look at named.conf Code: options { /* make named use port 53 for the source of all queries, to allow * firewalls to block all ports except 53: */ //query-source port 53; /* We no longer enable this by default as the dns posion exploit has forced many providers to open up their firewalls a bit */ // Put files that named is allowed to write in the data/ directory: directory "/var/named"; // the default pid-file "/var/run/named/named.pid"; dump-file "data/cache_dump.db"; statistics-file "data/named_stats.txt"; /* memstatistics-file "data/named_mem_stats.txt"; */ }; logging { /* If you want to enable debugging, eg. using the 'rndc trace' command, * named will try to write the 'named.run' file in the $directory (/var/named"). * By default, SELinux policy does not allow named to modify the /var/named" directory, * so put the default debug log file in data/ : */ channel default_debug { file "data/named.run"; severity dynamic; }; }; // All BIND 9 zones are in a "view", which allow different zones to be served // to different types of client addresses, and for options to be set for groups // of zones. // // By default, if named.conf contains no "view" clauses, all zones are in the // "default" view, which matches all clients. // // If named.conf contains any "view" clause, then all zones MUST be in a view; // so it is recommended to start off using views to avoid having to restructure // your configuration files in the future. view "localhost_resolver" { /* This view sets up named to be a localhost resolver ( caching only nameserver ). * If all you want is a caching-only nameserver, then you need only define this view: */ match-clients { 127.0.0.0/24; }; match-destinations { localhost; }; recursion yes; zone "." IN { type hint; file "/var/named/named.ca"; }; /* these are zones that contain definitions for all the localhost * names and addresses, as recommended in RFC1912 - these names should * ONLY be served to localhost clients: */ include "/var/named/named.rfc1912.zones"; };
View Replies!
View Related
IIS 7.0 Beta And PHP
I recently purchased "Build your own database driven website using php& mysql" and it describes how to setup php on a computer using the binary download package from php.net. My issue is a rather interesting one. I spend a few hours digging around in php.net's faq, microsoft's knowledgebase and various web locations. I am trying to setup php5isapi.dll as a handler mapping. the directions given are for an older version of IIS and they have changed since then. Is anyone familiar with how this task has changed? I am currently running windows vista ultimate on my machine. The options i have to add under handler mappings are as follows Managed Handler =>Request Path: (text entry box) =>Type: (this is a drop down menu not a browse box) =>Name: (text entry box) tried this, didn't work Script Map => Request path: (text entry box) =>Type: (this is a browse box to locate an executable file) =>Name: (text entry box) tried this one as well, didn't work Module Mapping same three boxes as the managed handler...also didn't work if anyone is familiar with this process *(getting php5isapi.dll mapped for *.php is the only part i can't figure out the changes on) i would greatly appreciate any assistance. As it stands right now, when i run any php file, internet explorer opens a window, closes the window in probably half a second, and then it opens a download file box asking me if i want to open, save or cancel.. if i click open the process repeats, save just copies the file as if it was being downloaded.
View Replies!
View Related
CPanel DNS Clustering
I just set up a cPanel DNS Cluster today. Followed the guide, and everything didnt according to my plan. As in, setup went fine, setting it up went fine too. But I do not think I understood how this solution works in real... or atleast I had assumed it to work in a different way. So for my questions... 1) How and where do I edit the DNS Zones. On the local system or the DNS dedicated server? 2) How do I create nameservers for this dedicated DNS server? Not the registrar part, but the A record and NS record part. 3) Small doubt, not a big one. Does the DNS server have to be in stand alone mode or synchronized mode?
View Replies!
View Related
DNS Settings In Cpanel
I have a dedicated server and have 5 IP addresses in all. 3 IP addresses i am using already. I want to give 2 IP address to a site, i have created DNS for that site: ns1.domainname.com ns2.domainname.com for both NS i have given 2 spare IPs. Now i want to edit the DNS of that domain name, which section i edit of the DNS in WHM and in which field what i write?
View Replies!
View Related
DNS Hostname In CPanel
I've set up a few domains in WHM, though I noticed when I use Ping Plotter to do a traceroute on the domain, the result always shows host.mydomain.com as the last stop, instead of just mydomain.com: Code: Target Name: mydomain.com " " 12 84 ms CWIE-LLC.car1.Chicago1.Level3.net [43.793.208.66] 13 82 ms [80.71.21.100] 14 84 ms host.mydomain.com [23.32.14.91] I was wondering, how can I configure the DNS in WHM so the last stop is just mydomain.com?
View Replies!
View Related
Cpanel DNS Clustering
I'm currently using Cpanel on all our web hosting machines (total of 6 machines). Each runs its own DNS but also uses the Cpanel cluster feature to sync between all machines. This has got to the point where DNS updates will not stay, the machines get very lagged etc etc. Now I have put 2 more machines online to do nothing but DNS. What is the best way to set this up?
View Replies!
View Related
Cannot Resolve Any Domain Name
I am new to the dedicated servers. I have just upgraded myself to a dedicated machine. I am getting error "couldnt resolve host" at every domain name when I type like wget http://google.com wget http://yahoo.com I searched over internet and found some people telling that I should put nameserver to /etc/resolv.conf? nameserver <ip here> nameserver <ip here> I dont know what IP to put here or if it is a solution to my problem.
View Replies!
View Related
Hostname Does Not Resolve To Any IP
I hope your day is going good. I've been trying to fix a problem I had all week. I receive daily email notification that "example.[url]" does not resolve to any IP. However, when in WHM, it already contains Server Main Ip: 208.53.183.125. I've tried a few solutions from the web, but to no avail: IMPORTANT: Do not ignore this email. The hostname (example.mydomainname.com) resolves to . It should resolve to 208.53.183.125. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain. Some are all of these problems can be caused by /etc/resolv.conf being setup incorrectly. Please check this file if you believe everything else is correct. You may be able to automaticly correct this problem by using the 'Add an A entry for your hostname' under 'Dns Functions' in your Web Host Manager 1) Within WHM, I have the following: -Add an A entry for your hostname (I only have one listed) Hostname: example.mydomainname.com Server Main Ip: 208.53.183.125 -Primary/secondary nameserver Primary Nameserver: ns1.mydomainname.com (A entry = 208.53.181.26) Secondary Nameserver: ns2.mydomainname.com (A entry = 208.53.181.27) -Resolver Configuration Primary Resolver: 66.90.68.25 Secondary Resolver: 66.90.68.26 -Additional IP my webhost gave me to use: 208.53.181.26 (used in primary name server) 208.53.181.27 (used in secondary name server) 208.53.181.28 -Current DNS Zone listing: example.com (my website URL that is currently working) example.mydomainname.com (hostname I made myself that contains the server main IP) ns1.mydomainname.com (A entry = 208.53.181.26) ns2.mydomainname.com (A entry = 208.53.181.27) 2) My edit "edit /etc/resolv.conf" contains the following: Search localdomain nameserver 66.90.68.25 nameserver 66.90.68.26 Issue: I receive daily email notification that "example.mydomainname.com" does not resolve to any IP. However, when in WHM, it already contains Server Main Ip: 208.53.183.125.
View Replies!
View Related
Subdomain Doesn't Resolve, But Others Do
I've got several subdomains on the ethoshosting.com server, but I recently created a subdomain (the same way as before) and it doesn't resolve The dig command run through shell works. DNS records seem to be setup. I restarted the DNS and even the http server. What gives? (it was a WHM setup via whmcs)
View Replies!
View Related
Unable To Resolve
I have nameservers setup on my server. As I have changed my servers, I need to resolve the sites. I changed the nameservers Ips to resolve to new one: 67.159.33.250 and 67.159.33.251 But my sites and my clients sites are going down. [url] And similar report by dnsreport is being given saying that NS didnt responded timely.
View Replies!
View Related
CPanel Domain Name Server (DNS)
After spending 1 hour wondering why all domains suddenly stopped working and the hosting server was showing no signs of fail. A simple dns service restart on my secondary dns server fixed this. Is there any way to auto restart the dns service upon failure on the cpanel dns only build? Also why would the secondary dns server failing, cause the domain to stop working. The primary dns/hosting server was fine.
View Replies!
View Related
CPanel DNS Clustering And Redundancy
I am working on setting up a few servers that run cPanel and the usual software, minus any sort of DNS server. These servers are setup to sync all DNS records over to a cPanel "Dns Only" (ns1.domain.com), which in turn syncs all its records to a backup DNS server (ns2.domain.com). In other words: [Domain registrar] | | [NS1]--Sync-->[NS2] | (Sync to NS1) | Cpanel Web Server Now, say something happens to NS1 and the sever goes completely offline (i.e. power supply dies, CPU goes bad, etc.), which of the following scenarios would actually happen: 1) Because the registrar lists both NS1 and NS2 as NS records, NS1 would time out and the DNS lookup would look to the secondary DNS (NS2) for the record. 2) The registrar would randomly give out NS1 OR NS2 because of round robin, and if NS1 is given to a client as the result of a DNS lookup, the site will appear down, however if the client happens to be referred to NS2, the site would appear online. 3) The site would be down no matter what. So, if someone with knowledge on the subject wouldn't mind enlightening me as to which of those would actually take place in the event of a failure on NS1, and maybe some suggestions as to keeping the DNS truely "redundant", then I would greatly appreciate it. And Im aware that there are many 3rd party services that will take care of the DNS records and make them redundant (DYNDNS, DNSMadeEasy, etc) But I would prefer to keep the DNS in our full control.
View Replies!
View Related
CPanel DNS Only Setup + Testing
I've recently setup a vps with cPanel DNS only - to provide more redundancy to my hosting/dns network. (secondary dns solution) I've set it up so my hosting server synchronises changes on the vps as well. Since I can't actually get it to list the dns records on the vps via whm, how I can check that the records are on the vps and can be queried correctly. When I tell it to manually synchronise the records from my hosting server, it reloads bind on both servers with no errors.
View Replies!
View Related
Cpanel Clustered DNS (DNSOnly)
Thew initial setup process for my future web hosting company will require a redundant dns setup. I was thinking of having two servers from softlayer (one on the east coast and the other on the west coast) being used as the dns servers (ns1.mydomain.com & ns2.mydomain.com). With one other server for handling the shared accounts, of course adding more servers (as needed) to the cluster in the future. Just wondering if this is the best possible way to setup for having only two name servers (with redundancy) for all shared account servers with my fleet. As well, I was thinking a dns only server wouldn't need to be that powerful, but I would like to be prepared in advance if you feel a strong server would be needed to handle the loads for all the shared accounts on many servers.
View Replies!
View Related
Domains Never Resolve, Probably Named
the DNS Server never resolves, i create one account on my server, i put the nameservers... about 6 Hours ago and nothing, i setup the Domain DNS and nothing, what can be? how i can fix this? I have a Dedicated Server (Xeon 2.8 | 1 GB Ram) OS: Fedora 6
View Replies!
View Related
I Can't Resolve Hosted Domains
I can't resolve hosted domains on ssh or via php on my server. All of other domains fine when i dig or ping but mine is not. I did run fix scripts for dns and restarted named but result is still same. Also, when i try to reach one of my domains via php's fsockopen function, i get "65 No route to host" or "68 Too many users" error.
View Replies!
View Related
Www Version Doesn't Resolve
I set up a domain in plesk 8 (LAMP), but the www version of the domain doesn't resolve via the browser, wheras the non-www version does. I set the nameservers (and glue records) yesterday. Why might this be? Could this be due to dns propagation?
View Replies!
View Related
My Server Can't Resolve Hosts
i use centos based server. yesterday everything was OK. but now, when i connect via SSH, my server can't resolve hosts. wget, ping, or curl don't work. also i use VNC to remote desktop. when try to open a page via firefox, it says server not found.
View Replies!
View Related
Domain Name Server (DNS) With CPanel / DirectAdmin
I have a reseller account that is hosted at ns1 / ns2.mydomain.com and it is configured via cPanel / WHM and is accessed by mydomain.com I recently purchased a dedicated server and would like the dedicated server to have a ns3 / ns4.mydomain.com I also would like that the dedicated server be accessed by another domain (other than mydomain.com). Is this possible? If that is not possible, what way is a good way of doing this?
View Replies!
View Related
WHM/CPANEL Domain Name Server (DNS)
I have just purchased a VPS with WHM and CPANEL. My old VPS used LXADMIN and HYPERVM. I'm trying to change over the DNS from the old to the new, so all i did was change the i.p's. Now i go into WHM and type my DNS servers into the setup/config page. Having already assigned each dns name an i.p im just waiting for the Assign an A address to this namserver button to show my new i.p address.. At the minute it says my old one. Is this the correct way, i know it can take a while to proporgate, is this the same with it showing the new IP? anyone wants to check: playcontrol.co.uk ns1.playcontrol.co.uk ns2.playcontrol.co.uk
View Replies!
View Related
CPanel DNS Only, Now Cant Install PHP, MySQL Etc
i am running a VPS and recently installed cPanel DNS Only so it can operate as a standalone DNS server. I would also like to serve standard webpages on it via apache and php, i therefore tired to install php, mysql etc via 'yum install php' but it says there is no package to be installed. Has the cPanel DNS only install done someting to the yum config? I have installed Yum Priorities plugin, and my repos files are as follows: Code: root@stripe [~]# yum list installed | grep httpd httpd.i386 2.2.3-22.el5.centos.1 installed root@stripe [~]# yum list installed | grep php* root@stripe [~]# cat /etc/yum.repos.d/CentOS-Base.repo # CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=1 #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=1 #packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=1
View Replies!
View Related
CPanel/WHM DNS Zone Editing
I have recently updated my cPanel/WHM to the latest stable version and with one (and maybe a few more) of the DNS zones I cannot edit using cPanel and I get this error: Unable to parse zone: Error while parsing zonedata for THISISMYDOMAIN.COM: expected valid serial, line 4 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142. What can I do to fix this as I need to edit this DNS zone urgently.
View Replies!
View Related
Cpanel DNS Only Server Not Returning MX Records
I have a Cpanel DNS-ONLY secondary nameserver at ns2.frozenblues.com that returns A records but does not return MX records, despite the zone files having correctly synched with the primary WHM (11.11.0)/Cpanel server (at ns1.frozenblues.com). Again, the files in /var/named are all correct on the DNS-ONLY server incuding the MX info, and it is returning A records, but not returning MX.
View Replies!
View Related
Cpanel DNS Cluster....for Simple Failover.
We have a 1 server setup. Right now all dns, web, and email are hosted from this single box. We wish to bring in a server2 and have dns cluster setup, this would also host mirrors of email and web sites from server1. What i want to know is what is the best way to setup the DNS cluster/nameservers? would it be ns1.domain.com pointing to server1 dns ns2.domain.com pointing to server2 dns? if that is the case and lets say server 2 goes down, wouldnt that mean the 50% of hits to the web site would be denied as ns2 is down? The reason i ask this is that to my understanding nameservers do not have priority, they are randomly hit. I am trying to provide some small bit of redundacy.
View Replies!
View Related
Cpanel, MX Records, 3rd Party DNS
I use a third-party DNS host for a domain hosted on a shared server with cpanel. The A record point to that server so that the website on it is shown, and for e-mail, it uses a different server. How does the domain have to configured on the cpanel server, the one that hosts the website, so that e-mail originating from within it go to the external mail server? And a related question - after the necessary changes are done, can the cpanel server still send e-mail with that domain name (say, if a script attempts to send an a message)?
View Replies!
View Related
CPanel, Windows 2003, Email, DNS
I have a W2k3 server with only one domain, it's manually configured in IIS and DNS locally on the box, and I don't want to put a mail server on the 2003 server. I also have a *nix box running cPanel. I was wondering if there is a way to just set my MX record to teh cPanel server so that I can get mail there. The only problem is, I'd have to add the domain in cPanel, right? Is there going to be any issues with this if the DNS information for the windows domain isn't pointing to the cPanel server.
View Replies!
View Related
Domain Name Resolve Problems In WHM
I have installed WHM 11 on centos 5.3. Currently I get problems that domains at certain places not open. Like e.g I write my server IP XXX.XXX.XXX.XXX it works fine and I get ping reply also, but at the same time I write [url]it would not resolve. Similarly in web browser I write server IP it gives cpanel page but on same computer I write [url]I get page cannot be opened, when I refresh the page at certain times then it would open. Now once it is opened in the same computer it would work fine here. In some internet connections it works fine i.e no problems, in some connections get similar problems that domains does not resolve properly. I checked my named service works fine.
View Replies!
View Related
Using Www Site Doesnt Resolve
Yesterday we registerd and created 2 domains in our server. Everything is ok, files uploaded, dns zones created, httpd virtual host created... The problem is that trying to browse the site trough http://www.site.com redirects me to [url] my main server IP address, this page shows a cPanel Welcome message. But, using [url], the site is loaded ok, withouth any problems. DNS zone shows: Code: ; cPanel 11.11.0-BETA_16977 ; Zone file for site.com $TTL 14400 @ 86400 IN SOA mydns1.wolo.com. admin.hostingserver.com. ( 2007092601 ; serial, todays date+todays 86400 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds site.com. 86400 IN NS mydns1.wolo.com. site.com. 86400 IN NS mydns2.wolo.com. site.com. IN A IP_ADDRESS localhost.site.com. IN A 127.0.0.1 site.com. IN MX 0 site.com. mail IN CNAME site.com. www IN A IP_ADDRESS ftp IN A IP_ADDRESS Apache virtual host code Code: <VirtualHost IP_ADDRESS> ServerAlias www.site.com ServerAdmin webmaster@site.com DocumentRoot /home/siteuser/public_html ServerName site.com <IfModule mod_suphp.c> suPHP_UserGroup siteuser siteuser </IfModule> <IfModule mod_php4.c> php_admin_value open_basedir "/home/siteuser:/usr/lib/php:/usr/local/lib/php:/tmp" </IfModule> <IfModule mod_php5.c> php_admin_value open_basedir "/home/siteuser:/usr/lib/php:/usr/local/lib/php:/tmp" </IfModule> User siteuser Group siteuser BytesLog /usr/local/apache/domlogs/site.com-bytes_log CustomLog /usr/local/apache/domlogs/site.com combined Options -ExecCGI -Includes </VirtualHost>
View Replies!
View Related
Domain Name Server (DNS) Cluster Setup In Cpanel
Hi there, i have few question for the best suited DNS Setup for our compagny. We have tree server located in montreal. Two are running web services, one of them is only for dns ( home server ). Two main server have Whm/Cpanel. One run Cpanel Dns only. Main server have 7 ips each Dns server, only have 1 Let say we use domain xxx.com Right now we have ns1/ns2/ns3/ns4 point to server1 ns5/ns6/ns7 point to server2 We have no Nameserver that point to our dns only server for now. I'd like to advoid runing DNS Service on all of them, maybe having two slave one master would be fine. Question: What would be the best suited dns setup with my current config for best responding time and fast replication?
View Replies!
View Related
DNS Trouble When Trying To Set Up Addons In CPanel Account
I'm trying another cpanel hosting service in addition to one with which I have a main domain and a bunch of addons. I'm used to being able to create the addon accounts regardless of whether I've already changed the ns for the domains being added yet. In the new service I'm trying, I am unable to to do that, but instead get an error message which appears online in various forum posts: Quote: Error from park wrapper: Using nameservers with the following IPs: exampleIP 1,example IP 2 Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver. With the hosting service where I can always create the accounts any time, I use a secure login that contains my account ip: [url] I will only do secure logins, and not any unsecure http logins. The other hosting service where I am unable to create the addons does not appear to have that available for my normal account url or ip, at least it doesn't work when I've tried, but after searching I found out that you can get a secure login in another way, so I am able to securely log into my account using [url] but this is not the same as my account's IP or the normal shorter url for my regular unsecure login. I would guess that's the significant difference which allows me to create accounts any time in the first account vs. not at all in the second - that I'm using my account's normal ip for the one, but the longer-than-normal secure urls for the other (?), although I don't fully know how that would work. There is however, one significant difference in the second account which I do not have in the first, and that is that I have SSH access in the second account. So, I am wondering if there is a simple method for using that SSH access to change a setting in my second account in such a way that I can have the same freedom to create addons there first and then attend to ns changes and so forth later when I'm ready? Especially is there a way to do this only once for the whole account, instead of having to do it for each and every addon? Thanks in advance to those who might really know the score on all this stuff and exactly what the best solution or solutions are.
View Replies!
View Related
|