Domain Name Server (DNS) :: Master/slave
Sep 18, 2006I want to know more about dns servers (master2slave), is there any tutorials how can I do that? I have 10 servers now, do I need to buy 2 more only for DNS?
View 6 RepliesI want to know more about dns servers (master2slave), is there any tutorials how can I do that? I have 10 servers now, do I need to buy 2 more only for DNS?
View 6 RepliesI'd like to run two servers, both will be using lxadmin and tinydns, what would be the best way to run a master/slave nameserver setup, and allow DNS updates to be transferred from the master to the slave?
View 2 Replies View RelatedI'm not too experienced with this, so I'm hoping someone more enlightened here can help.
Scenario:
I'm trying to build a social network site geared towards old people. I'm using LAMP environment. I want to have 1 mysql master (writes) and 2 mysql slaves (reads). Two web servers will read from the 2 mysql slaves and write to the one mysql master.
Questions:
My concern is this: when a user posts a comment via the webserver, the comment is written to the mysql master. I would like for him/her to see the comment he posted right away so they don't think something failed or went wrong. I'm afraid that replication to the mysql slaves will take some time to sync all of the mysql databases together. How can I work around this? Or am I mistaken and this doesn't actually happen?
How fast is replication? How can I mitigate this delay in replication to show the user instant results of their submission.
The same thing can apply to uploading photos to a user's profile.
Wich port used by hypervm (master/slave)
I have csf installed on my server and i need to open needed ports.
I have setup Slave DNS using plesk 12. But it is not creating the zone in slave server. I could see log in /var/log/messages of slave server. But DNS zone is not creating. I have followed the KB "[URL] ...." for setup.
Nov 4 13:31:25 li456-187 named[16905]: received control channel command 'addzone testnith.com { type slave; file "testnith.com"; masters { 108.161.131.59; }; };'
Nov 4 13:31:25 li456-187 named[16905]: received control channel command 'refresh testnith.com'
Nov 4 13:31:25 li456-187 named[16905]: received control channel command 'addzone testnith.com { type slave; file "testnith.com"; masters { 108.161.131.59; }; };'
I've been trying to configure Plesk as a hidden (super) master for a domain and I've run into some problems.
First off, for those who don't know, a hidden master is a nameserver that is actually the master server, yet does not list in the NS records of the domain.
The servers listed as NS in the zone have accepted the server as their master, but the rest of the world does not know it exists. Hence the term hidden master. The slaves consist of two PowerDNS servers that acknowledge the Plesk server as a supermaster, thus enabling automatic zone configuration and the like upon receiving a notify from the Plesk server.
However, the Plesk server refuses to send automatic notify messages to the slaves (listed in the NS records, also added to the ACL / transfer restrictions template). When requesting an AXFR by hand the Plesk server happily transfers the requested zone to the PowerDNS slaves, but upon changing the zone files through the Plesk panel's DNS management system, no notify goes out to the slaves, which thus don't know anything has changed. I've tried adding an also-notify clause to named.conf (which was suggested elsewhere), but it appears Plesk overwrites the entire named.conf upon zone changes, thus erasing the also-notify clause, subsequently refusing to send out a notify.
Further research into the workings of Bind (the nameserver used by Plesk in this setup) suggests that, by default, it should send notify messages to all servers listed in the NS records part of a given zone. This is clearly not the case in this particular setup, but I can't seem to find where exactly notify messages have been disabled (there is no mention of notify in named.conf).
My questions therefore are:
1) Why doesn't Plesk / Bind send automatic notify messages to its slaves, which is the default behavior of Bind? Where and how has this been disabled?
2) Should 1 turn out to be impossible to fix, how do I override named.conf on a per-domain basis?
I have several domains configured in my Plesk, and one of them is set as the "Detault site" under Home >> Tools & Setings > IP address management.This has the unpleasant side effect that any domain I point to this IP renders content from the Default site unless it's setup. How can I configure the default site to render content from only one domain?
View 1 Replies View RelatedI have a Windows/Plesk installation (Windows DNS), what is the best way to make a slave DNS server?I have two more servers without Plesk, windows and linux, one of then could be my slave server, how to accomplish that?
View 1 Replies View RelatedI installed Route 53 extension to manage a slave DNS server but when a add or remove some domain the process does not complete, Plesk stays loading without finish domain creation.
When I disable the extension, Plesk create and remove domains without any problem.
What could be happening?
If I change DNS using Plesk Panel the DNS server does not send a notification to the slave server, however if I change DNS directly through the DNS Manager it does send the notifications. Looking around the only thing I can find is an old post [URL] .... I'm not sure if this is related.
View 7 Replies View Relatedwhen I run DNS report for some of domain of my it give few errors on
1)
SOA MNAME Check Your SOA (Start of Authority) record states that your
master(primary) server is: Fail
2)
Invalid characters Checks if MX records use valid host names, without any invalid characters. FAIL
how to fix this using WHM.
I changed the DNS parameters of the default domain service plans to slave.
But where can I set the default master server, I didn't find it.
i am having a problem getting a dedicated server running for Unreal Tournament GOTY. everytime i create a dedicated server i get this error in the console:
Log: AInternetLink Resolve failed: Can't find host master.mplayer.com (WSANO_DATA)
ScriptLog: UdpServerUplink: Failed to resolve master server address, aborting.
im running through a router.
Our master node unable to connect to slave node for create, rebuild, manage.
But we can give access to slave with hypervm -> Servers and run anything on it.
I checked firewall, also im stopped iptables.
But master cannot connect to slave.
Where is issue and how can resolve?
Note: i can give ping or ssh access with both server to slave/master!
Help me please.
I have this when i run /script/upcp on main node:
[root@server ~]# /script/upcp
Getting Version Info from the Server...
Connecting... Please wait....
hypervm is the latest version
Executing UpdateCleanup. This will take a long time. Please be patient
License Successfully updated
vps backupdir exists... returning
Updgrading Slave xx.xx.xx.xx...
no_socket_connect_to_server
How to configure bind using WEBMIN as slave zone with [url]as master?
View 1 Replies View RelatedThis week I reached the pinnacle of all time greatest screw ups I've ever done with a web server in five years. During a routine upgrade, my server crashed and basically burned to the point that the technicians at Burst/Nocster felt it would be in my best interest to clear the server out and do a fresh restore.
Fortunately, I had the majorty of files and designs I've done on a safe backup. Unfortunately, the mysql database I had was not so fresh and recent. In there lies my big problem on an issue I really have not seen much information about.
We all know of the mysqldump command that can be used to backup databases and save a .sql file on the server. Its quick, easy, and relatively painless. The problem I have run into is
mysqldump --opt -u nqforum_braduser -p nqforum_nodqdb > /home/nqcom/backup.sql
This would be the command I'd use on my normal mysql dump. However, all of my files and past server information has been installed as a slave hard drive temporarily until I can gather everything I need. Therefore, the command above won't work because it is looking for this mysql database & user that does not exist on the new server. I currently have the slave hard drive path stored at
/mnt/olddrive/
So for example, to get to the website that would have that particular database
/mnt/olddrive/home/nqforum/
So my question for those who know anything about slave hard drives and mysql, how can I get a simple current backup of this database saved to a location, then of course once it is saved as a .sql file somewhere, I can simply run a mysql restore command in SSH to bring it back.
Is there any way to migrate a VPS from one HyperVM machine to another without the new machine being a slave or part of the same master as the other node? Maybe some kind of simple software that can copy it over? We have root access to the new node, and not the old one. We need to move 3 VPSs over. This is a personal favor for a friend, so I apologize for the lack of specific details. Long story short, he resells VPSs and needs to move hosts (again) as the one he is on turned crappy. He bought his own box @ LSN and wants to put these VPSs on there. It's currently set up as a HyperVM/OpenVZ box, same as the other box that's to be migrated *from*.
View 5 Replies View RelatedWe have published an article about the 'Slave DNS' Plesk extension in our blog. Parallels does not provide technical support services for this Plesk extension. The extension is intended to serve as example of how certain technical tasks can be accomplished.
View 7 Replies View RelatedI am using the Slave DNS manager and I'm getting the following error in /var/log/messages on the slave server when the master/plesk tries to send change notifications.received notify for zone 'example.com': not authoritative
The domain is pointing to ns1.mydomain.com and ns2.mydomain.com, the domains zone on the master has both of these as NS records. And the SOA record lists ns1.mydomain.com as the primary authoritative nameserver.The zone has not been set on the slave server, what would be the cause here?
Slaves named.conf
bbb.bbb.bb.bbb = Slave IP
aaa.aa.aa.aaa = Master/Plesk
Code:
options {
listen-on port 53 { 127.0.0.1; bbb.bbb.bb.bbb; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
zone-statistics yes;
[code]....
I've got a Plesk 12 server with the "Slave DNS Manager" extension installed.I've also got a CentOS 7 server that I would like to set up as a slave DNS server.I've installed BIND on the slave server and opened ports 53 and 953.I've followed the instructions on this page but I can't seem to get a link between the two servers: URL....
I've also tried the config that the Plesk panel provides like the case in this thread, I get the same results: URL....
How are the records on slave DNS servers updated ? Does it use the settings in the SOA section of the zone files to determine how often slaves are updated ?
Code:
18 ; serial
14400 ; refresh (4 hours)
7200 ; retry (2 hours)
2419200 ; expire (4 weeks)
3600 ; minimum (1 hour)
Is there any way for master to push out notifications to slaves OR get slaves to update their DNS sooner.
The main reason for this is it seems adding an entry on the master (via the GUI) is taking ages to appear on the slave.
I am setting up slave DNS servers using bind 9.8 on CentOS 6. I have followed the procedure here successfully: [URL] ....
The problem is that even if I see something like the following in named.run on the slave server (which implies the rndc connection worked):
received control channel command 'addzone xxxxxxxx.com { type slave; file "xxxxxxxx.com"; masters { x.x.x.x; }; };'
received control channel command 'refresh xxxxxxxx.com'
received control channel command 'addzone xxxxxxxx.com { type slave; file "xxxxxxxx.com"; masters { x.x.x.x; }; };'
I still cannot query any entries for that zone from the slave DNS server:
$ dig @y.y.y.y xxxxxxxx.com
; <<>> DiG 9.8.3-P1 <<>> @y.y.y.y xxxxxxxx.com
; (1 server found)
;; global options: +cmd
[Code] .....
I also do not see any zone files created anywhere on the slave server.
I've setup Bind 9.10.1 on a windows server as a slave DNS server. I've installed the Slave DNS Manager on Plesk 12 for Linux and setup configuration.
New zones are added ok so authentication en communication is working perfectly. But when I delete a zone in Plesk, the zoneconfig file doesn't get deleted on the windows server. I can see the windows eventlog saying "received control channel command 'delzone <domain>'" where <domain> is the zone I deleted. But after that noting. And I see errors after a while because of bind trying to transfer the deleted zone again. The zonefile isn't deleted from c: amedzones...
I have setup bind in centos 6.5 and then edited /etc/named.conf and added the lines
The extension produced but I am getting the following error when restarting the bind service
Error in named configuration:
/etc/named.conf:2: unknown option '...'
/etc/named.conf:14: unknown option '*'
/etc/named.conf:21: 'options' redefined near 'options'
The following code suggested by plesk slave dns manager extension
Code:
options {
...
allow-new-zones yes;
};
key "rndc-key-mainserver ip" {
[Code] .....
After I removed ... from the options now I get the following error :
/etc/named.conf:51: unknown key 'rndc-key'
I have recently started using the slave DNS manager in the Plesk extension library. I've found that even for DNS zones that are switched off in Plesk, failed sync/transfers still try to take place between the slave and master. Why is this so?
Shouldn't turning the DNS functionality off in Plesk remove the zone from the slave DNS server?
When a domains DNS functionality is turned off, it removed the zone info from the master, but no command is issued to remove it from the slave??
Domain that is trying to sync/transfer: example.com
Plesk/Master server: 111.11.11.111
Slave DNS: 222.222.22.222
Code:
May 6 08:51:39 ns2 named[1178]: zone example.com/IN: refresh: unexpected rcode (REFUSED) from master 111.11.11.111#53 (source 0.0.0.0#0)
May 6 08:51:39 ns2 named[1178]: zone example.com/IN: Transfer started.
May 6 08:51:40 ns2 named[1178]: transfer of 'example.com/IN' from 111.11.11.111#53: connected using 222.222.22.222#53166
[Code] ...
how can i creat Master Reseller in my cpanel/whm and so install this plugin?
View 10 Replies View Relatedi have dsedicated server so i want to install
Master REselelr to allow reselelr to creat reseller
can this software work on CENTOS Enterprise 5.2 i686 on standard
and how can i install it