Ubuntu Servers :: Bind Slave Tries To Update From Gateway?

Jan 21, 2011

I have 2 nameservers setup, a master and a slave. when I first setup the slave, I restarted bind9 and all of the zone records propagated just fine. Today, I updated one of the records on the master (no problems), but when I restarted bind9 on the slave it gave me a FAILED message. I checked the log and it was trying to receive notify's from my gateway address (192.168.10.1), and got "Failed to update from non-master". I did some research and found several people having a similar problem, but their slaves were trying to update from their own IP, not from the gateway IP. I tried their solution (allow-notify { 192.168.10.1; }) but all that did was allow the slave to restart bind without errors, it still doesn't update the records. It says "zone is up to date" but it's not.

IP's are:

Gateway 192.168.10.1
Master 192.168.10.200
Slave 192.168.10.201

All of my zone records have the masters statement set to 192.168.10.200 I don't know how it even came up with the gateway address

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Slave DHCP And DynamicDNS Can't Update Record

Nov 29, 2010

I setup 2 servers for DHCP and DDNS failover. But I see only Master DNS can update to db. file. When I disconnect Master, the Slave can release new IP to client but can't update record to db. file.

Error:

Code:
bdc named[878]: client 192.168.100.2#36203: signer "rndc-key" denied
Nov 28 22:42:22 bdc named[878]: client 192.168.100.2#36203: update forwarding 'systeminteg.com/IN' denied

[Code]....

View 3 Replies View Related

Server :: Bind Views With Master And Slave

Apr 12, 2011

I have bind configured with Internal and External views, but the slave server is transferring only the Internal zone files for both Internal and External - a diff shows no difference, and the log shows the same serial number.What am I missing in the config so the slave server properly receives updates from the master for both views?

View 2 Replies View Related

Fedora Servers :: Slave Dns Fails W/o Primary Dns?

Mar 23, 2011

setup - one primary dns and one slave dns. zone transfer works, internet works, dig lookup works. if i bring down the primary, everything stops working. should'nt the slave dns pick up the slack when the primary dns goes down.

zone "2.168.192.in-addr.arpa." IN {
type slave;
file "slaves/192.168.2.db";
[code]...

View 3 Replies View Related

Ubuntu Servers :: Live / Instant Rsync For Master Slave Setup

Feb 8, 2011

I need to perform instant filecopy between a pair of servers. Its loosely based on a master slave setup as we have ucarp floating a virtual IP between the two. services are on both boxes (tftp, apache). I'm happy with that, I now need a way to instantly sync files from set directories, as we could see problems if files have changed should the system fail over without being in sync

I know I could cron *1 but I don't want it running EVERY minute, in any case, if the change was within the last minute, then it wouldn't have the change anyway. I think it can be done with rsync daemons on box boxes, but I can't find a guide to to this. ATM the slave has been setup to accept rsync from the master, so I just need the config to have all changes on the master instantly replicated.

View 3 Replies View Related

Software :: Update Bind After Zonefile Changes?

Aug 12, 2010

I have a master-slave setup of Bind9 on a debian installation,which runs as exspected.there is something I do not understand. Everytime a zonefile is changed, it is required to run "rndc reload" command or else bind will never pickup the changes in the zonefile. The serial is updated as well! Running "rndc reload" will also force an update to the slave servers.

BUT, what is the purpose then of the "Refresh" value in the zonefile, if it is required to run the "rndc reload" command manually after changes, when this also forces the slave servers to update? The Refresh value looks for changes for the slaves on the master in a given timeframe. But since the master will never pickup the changes automatically, it really does not have a function?

View 2 Replies View Related

Ubuntu Servers :: Bind DNS And Apache ?

May 10, 2011

I was wondering if anyone knows how to make a zone file for bind dns server that points "example.com" and all (by all i mean any) sub-domains to this 127.0.0.1 address. and i wanted to set up a virtual host in apache to use /var/www/eample/index.php for 'example.com' and all of its sub-domains.

View 1 Replies View Related

Ubuntu Servers :: Set Default Gateway For Internet / Vpn?

Jun 28, 2010

I'm having some difficulty with a internet/vpn setup. I have 3 network adapters on the server. 1x is used to connect it to the rest of the network 1x is used to provide internet (squid,dansguardian) 1x is used to connect to the vpn router

My interfaces file looks like this:

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback

[Code]...

The problem that I have is this: When the gateway on eth2 is set to 10.0.2.2 the VPN works 100% but there is no internet. When the gateway on eth2 is set to 192.168.0.6 there is internet but no VPN.

So what I want to do is, route all traffic that is supposed to go to 10.0.2.0/24 and 10.0.3.0/24 to eth2 and all internet traffic to eth0.

View 6 Replies View Related

Ubuntu Servers :: Bind Phpmyadmin To Localhost Only?

Mar 18, 2010

Have basic LAMP setup on 9.10 box. I want to have a publicly accessible website AND I want to have phpmyadmin available. The only thing is I would rather not have the phpmyadmin interface available on the internet. I usually open a ssh port forwarded tunnel when I need to use phpmyadmin on this server. I want to add a directive to make phpmyadmin bind only on localhost. I have found the phpmyadmin config file in /etc/apache2/conf.d

phpmyadmin.conf -> ../../phpmyadmin/apache.conf

I have tried adding some LISTEN directives, but apache does not like my directives-- I am obviously not doing it right. I have looked for a bit on the internet and can't find out how to disable external access to a configured site in Apache.

View 2 Replies View Related

Ubuntu Servers :: Config Bind DNS With MySQL?

Jul 15, 2010

I have searched some about Bind9 and have it installed in my server. Now I'm looking for a Tools like mysqlBind and I found unxsBind is the next version of mysqlBind (These tools help you config BIND DNS with MySQL). But the issue is: I don't know how to Install it in Ubuntu - there just say how to install with Centos.

View 2 Replies View Related

Ubuntu Servers :: BIND The DNS Memory Consuming?

Nov 13, 2010

bind9 is taking a lot of the RAM

process info:

ID Owner Size Command
17559 root 290396 kB /usr/sbin/named -c /etc/bind/named.conf

View 9 Replies View Related

Ubuntu Servers :: Bind-server With SQL In The Repositories?

Jun 19, 2011

I need a bind-server (I mean DNS server) with a SQL backend. As far as I have seen, the only viable option I have is to recompile bind9 with support for either MySQL or PostGre.

Link to this: [URL]with an additional

Code:
apt-get install libpqxx3-dev

From some tutorials I have read, I see I need to recompile it to enable its SQL support.

But when I do it that way, I won't get any security updates, won't I?

So... Is there any bind server with SQL support in the repositories ? For that I don't have to worry about security updates...

View 1 Replies View Related

Ubuntu Servers :: Configure Www In DNS Zone To Be Fetched From Gateway?

Jan 10, 2010

I successfully configured my local DNS server. I have server1.mydomain.com, pc1.mydomain.com and so on ..

The problem is that my website is hosted on an external server (not on the local network), so www.mydomain.com is not found in the configured zone/subnet

How can I tweak my DNS to fetch ALL subdomains from the gateway (just as it went before the DNS existed)?

View 6 Replies View Related

Ubuntu Servers :: Setting Up Gateway / Router And Firewall

Jul 20, 2011

So what I want to do is setup a gateway(or router, idk what Ubuntu refers to it as.). So my set up would be Modem>Server>Switch>Router. I know that I need to set up it up as a DHCP server as well. I would also like to setup it up as a firewall too. I already have two Gbit cards that are already configured. So how do I do this? I already tried one tutorial, but it was old and was for Debian. I also installed ebox, but I couldnt figure that out either.

View 1 Replies View Related

Ubuntu Servers :: Bind Fails First Attempt, Then Works?

Jan 10, 2011

I'm having an issue with a BIND server. After a restart, (or randomly, I assume whenever a cache expires,) when I try to resolve any domain I get a "Host yahoo.com not found: 2(SERVFAIL)" Eventually it starts working and works fine till the cache expires again;

[Code]...

View 1 Replies View Related

Ubuntu Servers :: 10.10 - Bind 9 Not Accepting DNS Client Queries

Feb 13, 2011

However I just built a 10.10 server, installed webmin, vmware, and the server is working perfectly. I configured my bind 9 server using the latest webmin and on the server everything resolves perfectly to both the internet and lan. I have it set to 127.0.0.1, the server ip address is 10.1.50.25. However, it will not accept dns client queries in which they cannot resolve to the lan or internet. I have the dhcp giving out the dns server 10.1.50.25. NSLOOKUPS from the client show query refused. I know there has to be some setting or config that will allow clients to query but I am not able to locate it, and I am not totally knowledgeable of named.conf and been all through the webmin module and configuration settings.

View 6 Replies View Related

Fedora :: Get BIND Running On One Of Our F10 Servers?

Aug 12, 2009

I'm trying to get BIND running on one of our Fedora 10 servers, since we've had some issues with the DNS from our service provider. This BIND server is not authoritative for any domain, it's merely for caching purposes. I used the sample DNS file at [URL].., and modified it slightly with our internal IP addresses.

I'm getting the following errors when I do service named start:

Error in named configuration:
zone localhost/IN: loading from master file master.localhost failed: file not found
_default/localhost/in: file not found
zone 0.0.127.in-addr.arpa/IN: loading from master file localhost.rev failed: file not found
_default/0.0.127.in-addr.arpa/in: file not found

I also tried changing the line directory "/var/named"; To the /var/named/chroot/var/named directory with the same result.

View 4 Replies View Related

Networking :: Setup 2 BIND Servers?

Sep 10, 2010

I need to setup 2 BIND servers where I would need to configure automatic fail over where if one of the DNS server goes down other one should be able to pick it up.I was thinking to deploy VRRP solution with keepalived or vrrpd

View 6 Replies View Related

Ubuntu Servers :: Open Vpn Not Pushing Default Route/gateway?

Jun 25, 2010

i have setup an open vpn server and when i connect to it the client pulls an IP and but not default gateway. My goal is to route all web traffic through the VPN... My config file looks like this...

Code:

dev tun
proto tcp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt

[code].....

View 2 Replies View Related

Ubuntu Servers :: Lock Down An Office Network With A Gateway Server?

Aug 4, 2010

I am looking for some advice on how best to lock down our office network to keep our employee's from wasting time on sites like facebook and ...... This will be my first time setting up a server as a gateway in a production environment so I thought I should get some suggestions on what the best packages would be to do this.

I essentially need to lock down our network so that i can monitor what everyone is doing on the Internet and block it if needed. it doesn't have to be web based or have a bunch of gui's, im fine with command line, configs and log files, but it would be nice.

I'm interested in commercial products as well as long as they are linux based.

View 2 Replies View Related

Ubuntu Servers :: Vsftpd: Symbolic Links Or Mount Bind?

May 21, 2010

I'm setting up an ftp server with lucid server. A lot of the folders that should be accessible via the ftp are in different directories (and can't be moved without a LOT of hazzle) and I have to either symlink or mount bind them to the ftp chroot dir. Now I'm wondering which one is the saver variant? My guess is mount bind, but I'm not that familiar with the internal workings of linux and vsftpd (plus for symlinks I wouldn't have to change/create any scripts, just create them once...),

View 1 Replies View Related

Ubuntu Servers :: Bind : ANAME To Server 2 Not Forwarding Externally?

Dec 8, 2010

I have 2 servers operating on my home network. One server hosts Bind9 and a few web sites. The other is an Ubuntu repo mirror that I recently configured (10.1.10.26). Inside my network, requests to the olyubuntu.nwlinux domain function as it should. However, external requests do not get forwarded. Instead, they end up at my DNS box at 10.1.10.25. Again, internal requests are forwarded correctly.Any red flags pop-up as to why this is occurring? Firewalls are not an issue.

Code:
$ORIGIN nwlinux.com.
$TTL 86400[code].....

View 3 Replies View Related

Fedora Servers :: Gateway Autoshutdown During Weekend

Jan 5, 2009

I have one linux server act as gateway which is run on fedora platform. The problem occured recently when it keeps on shutting down itself during the weekend.. I have no idea what caused this autoshutdown. For your info, the server is NOT scheduled to auto-shutdown mode.

View 2 Replies View Related

Fedora Servers :: BInd DNS Server Not Accessible To Other?

Sep 22, 2009

I am working on fedora 10 and configured dns on my college lan which already has it's dns at 192.168.5.20 .So i configured my private dns server at 192.168.101.91 which is my ip too.And the domain name is the host name of my system for example server.onkie.com.MY dns port 53 is shown when i do nmap localhost but but doesnt show when i do nmap 192.168.101.91 .Also when tested my server on other computers on my lan with there primary dns as 192.168.5.20 and secondary as 192.168.101.91 they cant access my site at my system with the name [URL].. . nmap localhost

Starting Nmap 5.00 ( http://nmap.org ) at 2009-09-22 21:24 IST
Interesting ports on onkar (127.0.0.1):
Not shown: 993 closed ports
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain ----the dns is running

[Code]...

I already disabled my selinux and iptables ..but then also it's not accessible in Lan .

View 1 Replies View Related

CentOS 5 Server :: User Named Unknown After Bind Version Update

Jan 28, 2009

I updated bind to version bind-9.3.4-6.0.3.P1.el5_2 today, and then I started getting "Starting named: named: user 'named' unknown" messages. Selinux is enabled.
ID named shows:
uid=25(named) gid=25(named) groups=25(named) context=root:system_r:unconfined_t:SystemLow-SystemHigh

View 2 Replies View Related

Fedora Servers :: Installing A DNS Server On 13 Running Bind

Jun 9, 2010

I'm thinking about installing a DNS server on Fedora 13 running bind. I looked around for available bind packages and found only these:

Now the first one contains bind utils the second one is for running DNS in a chroot env and the last one is a bind with some DB backend.

Does this mean that fedora 13 doesn't support/.provide "standard" bind server (I mean the one to run without chroot/without db backend) ? Or am I missing anything in my repolist which is :

View 5 Replies View Related

Fedora Servers :: Mysql Driver For Bind In RPM Format?

May 14, 2011

anyone come across a mysql driver for Bind that is already in RPM format? I know there is one that you can compile, but i was just curious if anyone knew of a MAINTAINED package that does that same thing?

==Edit== While i'm at it, does anyone know of a way to have bind call a STORED PROCEDURE, instead of directly querying a table? That'd be sweet. --Or, even having bind query a php file, or a webhost, would be good... I'm going to google that one now....

==Edit== Screw the mysql driver: [URL]

how to use php to serve dns requests...

View 1 Replies View Related

Software :: Assign New Gateway When Servers Hosted On Non DHCP Network

Jan 29, 2009

Does anyone know if you switch networks Where you have your servers hosted on a Non-DHCP Network, and you switch your IP addresses, then do you have to switch change/assign your new gateway address? I'm not sure if its manually assigned? How do you do it? Also what about nameserver resolving?

View 2 Replies View Related

Fedora Servers :: FC11 Cannot Start BIND After Upgrade From FC10

Jul 8, 2009

I'm having a problem getting BIND to start after doing the FC10->FC11 upgrade. Others have been reporting some bad symbolic links, but this isn't that problem. I've searched the forums here, but I don't see anything like this anywhere.

Here's what I see:

Code:

[root@atomu etc]# /etc/init.d/named start
Starting named: [FAILED]

So, no error message. Logs read as follows:

Code:

Jul 8 00:38:00 atomu named[2414]: starting BIND 9.6.1-RedHat-9.6.1-2.fc11 -u named
Jul 8 00:38:00 atomu named[2414]: built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'

[code]....

View 4 Replies View Related

Fedora Servers :: BIND Detect Client Machine Name Automatically?

Aug 10, 2009

When DNS server is configured on Windows server, it will automatically detect and catch computer names and IP address. With Linux (BIND), I have to enter each clients manual under zone file. example (computer1 IN A 10.10.1.4). is there anyway to make Linux detect client automatically as windows does?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved