hi,
i'm trying to setup a samba4 domain controler using these guidlines http://www.matrix44.net/cms/notes/gn...h-ubuntu-12-04, but i have an error when reaching the step 5.
I written a program to see whether the named process has dead or not,just like that:
char *cmd = "pidof named | wc -l";
if((fp = popen(cmd , "r")) == NULL)
{
throw;
}
fscanf(fp,"%d",&runningNum);
pclose(fp);
If the runningNum=0, it indicated that no named process was running.So i want to restart the BIND process.I have tried to use sudo /etc/init.d/bind9 restart as a paramater of popen(
HI All,
I just finished setting up my server with Bind9 + DLZ + MySQL. I have just a simple question. Every time any particular domain is queried, the mysql database is being checked to resolve the queried domain.
SOLVED. Lock the topic. Bind9 installed from tar.gz file and run it with the standard installation named.conf of bind9 in CentOS. I wrote my php script management bind9 mysql database through a web... [by djpatzo]
I installed virtualmin and played around with the DNS settings. Now when I try to start bind9 I get the error:
Service bind9 restart
* Stopping domain name service... bind9
rndc: connect failed: 127.0.0.1#953: connection refused
[ OK ]
* Starting domain name service...
I am trying to run bind9 with chroot jail.
Ive set up 2 dns servers. using tsig can someone tell me or direct me to a how to for adding zone to named.conf or named.conf.local file automatically? i mean if i add a zone in named.conf and file of the zone, i want it to be executed in the second server auto. is there a howto? tutorial? any one can direct me or?
bind9-debian
thnx
My bind9 server logs queries to syslog and it produces lines like this in /var/log/syslog
Aug 23 17:25:41 serverdns named[1690]: client 10.10.10.20#35495: query: 52.122.168.109.blackholes.easynet.nl IN A + (10.10.10.1)
How can I configure the named.rb parser of glTail to parse such lines? Do I have to change my Bind9 logging configuration? Can you give me an example?
Samba4 init script.My configure prefix was /opt/samba4 (as in aur package). So if you have configured default location, please change this path to /usr/local/samba in script./etc/rc.d/samba4:#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
[ -f /etc/conf.d/samba4 ] && .