View Single Post
  #1  
Old 11th March 2013, 18:08
SSullivan SSullivan is offline
Junior Member
 
Join Date: Mar 2013
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default DNS Server Monitor Bug

Hello.

I'm hoping someone can help me as I'm struggling.

I have BIND9 running on two machines that can talk to each other. One is the master the other, the slave. They're working perfect.

However, every 5 minutes in my logs named is started.

I have narrowed it down to the Monitor script which is executing

PHP Code:
$fp fsockopen('udp://localhost',53$errno$errstr2); 
So I made this script, ran it and I get...

PHP Code:
<?php
$fp 
fsockopen('udp://localhost',53$errno$errstr2);
echo 
$errno;
echo 
'---#' $errstr;
echo 
'--#' $fp;
?>
Code:
0---#--#Resource id #4
Monitor script cannot connect to localhost port 53 however, I can Telnet to it correctly.

I assume it's something to do with PHP but I have no idea what! All new named services are by the user 'nobody'.

As you can imagine running multiple named processes means the DNS hangs on both services which makes redundancy a major issue. Help!
Reply With Quote
Sponsored Links