One Secondary DNS Server For Two Primary
Apr 22, 2009
I have the following three servers, which I'll call A, B, and C:
Server A - Web hosting server that uses cPanel on CentOS.
Server B - Free subdomain service (similar to afraid.org but on a much smaller scale), using PowerDNS with a MySQL database backend, on Debian.
Server C - Backup DNS server for the cPanel web hosting server, using the free cPanel "DNS Only" on CentOS.
Originally I had just A and B set up (they're two separate VPSes on the one dedicated server, I own the dedi and some friends and I have VPSes on it). Now I've got a VPS at a different data centre, and am using that for C.
To have a secondary DNS server for server B, I believe I can use MySQL replication to replicate the PowerDNS database to another server, then have a PowerDNS install on that server. My question is, is it possible to have server C as a backup DNS server for both server A (cPanel server) and server B (PowerDNS server)? ie. is there a way to check both PowerDNS and the cPanel BIND9 for domains (have them on different ports, and make one query the other if the lookup fails, perhaps)? Or perhaps use both the MySQL backend and the bind backend simultaneously in PowerDNS, and replace bind with PowerDNS (although I guess cPanel wouldn't like this)?
View 1 Replies
ADVERTISEMENT
May 3, 2009
in setting up Primary & secondary MS DNS server for MS WIn 2003 server,
View 5 Replies
View Related
May 26, 2008
i have just bought a dedicated server with 2 ips.
i already put type master in named.conf along with a zone file having 2 nameservers pointing to A records
ns1 IN A 1.3.5.7
ns2 IN A 2.4.6.8
how do i setup ns2 (secondary nameserver)? how do i know it is running?
View 9 Replies
View Related
Aug 14, 2007
I have two nameservers, each running physically on a different server on different networks. Now I've noticed that whenever the primary NS goes down, clients requesting authoritative NS record lookups refuse to connect to the secondary NS, which I know is certainly up and running. The secondary NS has its own zone files and when you specifically request that server to resolve NS requests, it does the work. But generic NS lookups without specifying the server appears to fail when the primary server is down.
Does anyone know what might be happening here? I know that the domain registrar has both nameservers recorded for the domains I'm trying to resolve, but what is the point of a secondary NS, when it isn't contacted when the primary nameserver is down?
View 0 Replies
View Related
Mar 22, 2007
clarification on DNS.
We currently have gps devices which report x,y coords. The devices currently report to a fully qualified name: servername.mydomain.com. And only one fully qualified name.
We would like to have redudancy, so if the main server goes down, then the secondary takes over. I assume this is accomblished via DNS.
So out first task is to create name servers at our domain registar and have them register them, for example:
ns1.mydomain.com -> FIRSTSERVERIP
ns2.mydomain.com -> SECONDSERVERIP
Then on the both servers we setup DNS to accept the a record of servename.mydomain.com points to? This is where I get confused. Does the firstserver DNS say point to itself, and the second DNS server point to itself?
View 2 Replies
View Related
Jun 30, 2008
I have 2 servers 1 US and 1 UK.
What I wanna do is synchronize both of them using rsync. Once they've got synchronized, the UK will be the primary server and US will be secondary, in case the UK goes down.
my questions are
1. Is it possible that when the UK goes down, the A records for domain.com automatically switches to the US server so it can take over while UK is down.
ie. UK ip 112.113.114.1
US ip 222.111.444.5
domain.com A records = UK ip when up... but when UK is down, A records automatically changes to US ip.
2. And when the UK server goes up again, whatever changes made to US server will be pushed to UK. May it be files, accounts or e-mails.
I.E.
UK and US are synchronized every 30mins. UK and US both have e-mails 1-10.
Just before the sync time, UK server received an e-mail 11-15 then goes down. So the US Server will take over but do not have 11-15 mails, since it was received before sync time. During the UK downtime, US server received e-mails 16-20.
When the UK server goes up, will it be possible to sync both servers that both of them will have the e-mails 1-20?
I hope you get my point...
If these are not feasible, what can you advice as an alternative solution. All I want is to avoid downtimes, especially with mails as the business relies on this.
View 9 Replies
View Related
Dec 22, 2006
I would like to reassure two DNS machines (a primary and a secondary) with iptables
By default I block everything, but even with rules for the port 53, it blocks the queries needing to resolve via the primary, and the secondary does not manage to transfer the zones of the primary …
DNS are on public ip, but to simplify, we are going to say that:
The primary DNS is: 192.168.0.10
The secondary DNS is: 192.168.0.20
Here are iptables rules(sliders) which I have at present:
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -X
iptables -t nat -X
iptables -t mangle -X
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp --dport 53 -j ACCEPT
iptables -A INPUT -p udp --dport 53 -j ACCEPT
iptables -A INPUT -i lo --source 127.0.0.1 --destination 127.0.0.1 -j ACCEPT
Thus with these rules, I have quite a lot of problems (resolutions, transfersof zones)
I found these rules on a forum, that seems to be interesting but as I do not know there not iptable, I ignore if it is what I miss or not.
For information here is all the same what I found (not tested):
#iptables -A INPUT -p tcp -s 192.168.0.20/255.255.255.255 --sport 1024:65535 -d 192.168.0.10 -dport 53 -m state state NEW,ESTABLISHED -j ACCEPT
#iptables -A OUTPUT -p tcp -s 192.168.0.10/255.255.255.255 --sport 53:65535 -d 192.168.0.20 -dport 1024:65535 -m state state ESTABLISHED -j ACCEPT
PS: server are under Linux Mandrake
View 0 Replies
View Related
Aug 15, 2007
I got a new dedicated server, and I put the primary domain name to be zeonwebhosting.com.
However, when I setup the nameservers, and go to GoDaddy.com and NameCheap.com to change the nameservers on my domains, I get an "Errors were detected" on GoDaddy.com and a "nRRPResponseCode 531" on NameCheap.
I fixed everything in WHM and got a server administrator to fix some things for me, and it didn't work yet. Now I am thinking that the problem might not be with the server, but with the domain.
ZeonWebHosting.com is registered at GoDaddy.com, and since I was not sure what nameservers I should put as it is the primary domain name, I used the parked nameservers on GoDaddy, and used the Total DNS feature to change the A and MX Records to point to my server's IPs.
I tried putting the ns1.zeonwebhosting.com and ns2.zeonwebhosting.com DNSs on GoDaddy, but still I got the "Errors were detected" error. I tried almost everything possible. I even redid cPanel just to make sure that everything was OK with the cPanel configuration.
Also there is another problem with the server. I can't seem to be able to delete Nameservers from "Networking Setup > Nameserver IPs" in WHM. I get this message when trying to delete one of the nameservers:
"Sorry, the nameserver ip 66.79.191.196 cannot be removing since it is still registered with an ICANN register."
View 2 Replies
View Related
Oct 20, 2007
i am currently with a host, hosting my important sites. I am now going to purchase some space from another host purely for storage purposes and bandwidth usage as they are within my budget.
Now i have my primary domain with my main host, and i would like to have a script or link from my current host which leads onto my 2nd host for users to upload their images or files. Now i have a problem, the second host that i will have will not have a registered domain attached to it, but rather it will be just storage.
I would prefer to have a subdomain from my primary host pointing to my second host. The problem is where will the subdomain point to? Or will it even work that way without having to purchase another domain?
View 4 Replies
View Related
May 21, 2009
Because of the security issues inherent in controlling DNS servers on other VPS/servers that run other processes, host websites and store mission-critical data and for other reasons related to control, we want to keep our DNS server separate from our other servers and our own desktops. Therefore, we're going to get a small VPS for this purpose.
We won't totally cheap out on this so we'll be getting a quality VPS from a good provider. But, we probably don't need more than 5 or 10G of HD space but we wonder how much RAM and bandwidth we need to run something like MyDNS with MyDNSConfig with a MySQL backend.
Also, what's the best Linux distro for this kind of thing? We use CentOS with facility but are not afraid to try a new one if it's a better choice for this purpose.
View 14 Replies
View Related
Jun 15, 2005
I have signup with everydns. I have read faq for secondary DNS but not understand.
View 1 Replies
View Related
Jun 27, 2008
Just moved to a lxadmin based system from my current plesk system and I have a dilema
Configuration
Server 1: Main Web/CP/Primary DNS/Mail/etc
Server 2: Secondary DNS/Backup Mail forwarding
With Plesk I generated a transfer file from named.conf (plesk runs bind/named for dns) sent that over to server 2 a couple of times a day.
Problem is I've converted lxadmin to run with bind instead and named.conf only contains an include to lxadmin.named.conf and this is empty. So where does lxadmin put its conf files for named?
I'm not restricted to using named, I'd use djbdns if there was an equally simple way of transferring the zones across to server 2
View 1 Replies
View Related
Feb 27, 2015
I have Plesk 12 with bind. Currently I have 2 ips on same server, so the 2 name servers are on same machine. When I installed it I didn't do any extreme thing, it just worked.I purchased an other server, because I need it for development. I would like to setup the new server as secondary dns server. I don't use Plesk on the new server.How can I setup this with record sync? I'm using ubuntu ...
View 1 Replies
View Related
May 8, 2014
It has been bought to my attention during our upgrade planning, that PPA & Plesk Panel do not offer the functionality for setting up a backup MX servers. In our current configuration we use Sendmail as both secondary and tertiary MX servers. These are manually configured and prone to configuration mistakes.
Multiple scenarios need to be taken into consideration.
Scenario 1: Hosters Plesk hosted primary mail server + secondary & tertiary mail servers.
Scenario 2: Client hosted primary mail server + hosters secondary & tertiary mail servers.
I am looking for alternate ways for backup / secondary MX servers for our planned PPA / Plesk deployment. An automated solution would be ideal, but we are falling short trying to find a solution to streamline the process and remove margin for error.
View 1 Replies
View Related
Nov 7, 2013
I need to change the IP to a server dedicated Windows with Parallels Plesk installed and 200 domain's hosting.
Do I have to change the IP in the dns zone one at a time? I think it's possible to do it by reconfigurator (remote desktop).
View 2 Replies
View Related
Feb 10, 2015
I have a server with two hard disks.
The centos operating system and plesk (and also apache webserver) are installed on the first hard disk.
I have mounted the second hard disk (6 TB with ext4 file system) in a folder under /var/www/vhosts/AHostingAccount directory.
This folder is accessible via plesk's file manager but i cannot access it via ftp.
View 4 Replies
View Related
Sep 29, 2008
Is there any cheap / stable VPS vendor in UK likes cheapvps.co.uk? I just need a minimum VPS (128MB RAM?) for secondary DNS.
View 4 Replies
View Related
Dec 2, 2007
I signed up with cheapvps.co.uk a month ago, and I'm very happy with them . Now I'm looking for a very small VPS to host a secondary DNS server, and maybe a backup MX server.
It's just for personal use.
I think 5GB disk space would be enough, and I would like not to spend more than $10 USD/month. Do you know any VPS that suits my needs?
View 7 Replies
View Related
May 22, 2009
We need a secondary DNS for our cPanel server, as we want to have separate nameservers. What is the cheapest vps anyone knows that is hosted outside of Bluesquare House (UK). Global location isn't important.
View 2 Replies
View Related
Jun 13, 2008
I have a VPS with LXADMIN Hostinabox single server and want to use this VPS as a secondary/slave DNS server. My primary/master DNS is hosted elsewhere.
Does the LXADMIN Hostinanox interface facilitate the ability to setup the secondary zone?
View 2 Replies
View Related
May 20, 2008
mount secondary H.D.D to /backup, but i have following error after run "mount /dev/sdb1 backup"
mount: unknown filesystem type 'ntfs'
How can change secondary hard disk file system to linux?
View 11 Replies
View Related
Mar 28, 2007
I have searched for setting up automatic secondary DNS, but couldn't find anything, if I missed it, please post a link
I have 2 VPS's one running cPanel/WHM with about 15 low traffic sites on it. The other is a very slow spec VPS, hopefully just for DNS services.
I only have 1 domain server running currently, this is on the same server as the all the websites, what I want is a secondary DNS mirroring that of the DNS on my cPanel VPS, automaitically....
I was thinking of writting a little script to scp all the .db files in /var/named/ to my secondary server, then login to the secondary server and restart BIND?
View 6 Replies
View Related
Jul 22, 2008
What happens if your primary nameserver goes down? Meaning that it goes completely off the net, not even denying dns requests but completely ignoring them.
I'd guess that resolvers would query the secondary NS after a specified timeout, but what is that timeout set to? Does it differ from ISP to ISP? How much of a slowdown are we looking at for end users?
View 0 Replies
View Related
Jul 5, 2007
would it be possible to have my main box running apache, a second box for dns/other and an offsite secondary dns such as DNS1.PUBLIC-DNS.NET?
Is it possible to authenticate the primary and offsite secondary nameserver so the zone is transferred to the secondary? Would i need to pay for a special service, or do free ones exist? Are there any security implications with zone files being transferred out over the public internet, would a vpn need to be configured or can the process be encrypted via the transfer procedure?
Finally, how would this affect the way the entire virtual hosting works? I know when the nameserver on the host machine serves resolves a name request for a computer trying to browse the site in question, but when the actual http request goes to the web server does it incldue the domain it is looking at also?
View 4 Replies
View Related
Jul 29, 2007
I just ran into something about Secondary DNS services.
What exactly is that?
Is that where if my primary name server goes down, a secondary name server kicks in and resolves all my donmains to another server somewhere?
I've been thinking about getting setup with some kind of fail safe setup in case my primary name server goes down.
Would Secondary DNS services take care of that?
If so, anybody know where I can find a reliable, affordable secondary DNS service?
View 9 Replies
View Related
Apr 21, 2008
I got a new server and need to move my primary and secondary DNS. I use cpanel.
My idea was too:
1. Shut off my secondary DNS ns2. on my old server. (which I don't know how to do.) I was able to delete it from the nameserver Ip's link in whm. It deleted it but the server still has the IP assigned to it.
2. Set up my secondary dns on the new server. (cpanel wont let me because it says it already exists so I'm kind of stuck on this one too.)
3. Once the secondary is set up go to my registar and change the IP address.
4. move the sites, and turn off the primary ns server forcing everything to go to the new server or secondary dns.
5. move the primary..
View 2 Replies
View Related
Mar 15, 2007
I've been having this issue for almost a week now and it's driving me crazy.
I made an IP switch from one peer to another. Anyways, I setup the gateway, primary IP, subnet, etc.
Once the box was rebooted and came up with the new IPs I noted that cPanel was whining that the license was incorrect and noted that instead of xxx.xxx.xxx.98 it was recognizing xxx.xxx.xxx.99
I just switched the license over and it was done. But I'm having some major email issues as some remote hosts does not receive/send emails to my server as the hostname cannot be found since they also recognize the secondary IP .99 and not primary .98 as it should be.
I've checked the entire settings again but just can't get around it. An ipconfig shows that the primary IP is in fact .98 which keeps me puzzled:
eth0 Link encap:Ethernet HWaddr 00:50:45:5C:0D:90
inet addr:xxx.xxx.xxx.98 Bcast:xxx.xxx.xxx.111 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:134016363 errors:0 dropped:0 overruns:0 frame:0
TX packets:178062904 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1556429887 (1.4 GiB) TX bytes:2181442479 (2.0 GiB)
Interrupt:17
View 12 Replies
View Related