rrset-order code

2013-08-20 Thread Nidal Shater
HI
I'm working on a DNS project, which is weighted load balancing DNS which 
depends on weight of a serveres that have the page we want to lookup to order 
the returned list of the IP.
My question is:
we know in bind that we use rrset-order{ order random;}//where is the piece of 
code that implement the random function in BIND9
so i can edit it to reach my goal>

Nidal
  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

duplicate records

2013-08-20 Thread Nidal Shater
we know that BIND eleminate duplicate records, which version of BIND that 
doesn't do that ?
NIDAL
  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reinstall after modifying

2013-08-21 Thread Nidal Shater
Hi
I'm working on BIND source code, we know that we can install BIND in centos by 
the command " yum install bind"
how can I install bind as a named server after I have made my modification to 
it's source code without using "yum"
= with make,make install and ./configure.and I want to make it happend by using 
my modified version 

Nidal
  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

The Path of source code

2013-08-21 Thread Nidal Shater
I have installed BIND by using the command " yum install bind" in 
"centos6.3",what is the location(path) of the  source code  and espically the 
".c" files on my filesystem

Nidal
  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

code understanding

2013-08-21 Thread Nidal Shater
Hi 
We all know rrset-order{order random;} option, I search bind code and find the 
part which deal with this 
*
for (i = 0; i < count; i++) {
dns_rdata_t rdata;
isc_uint32_t val;

isc_random_get(&val);
choice = i + (val % (count - i));
rdata = shuffled[i];
shuffled[i] = shuffled[choice];
shuffled[choice] = rdata;
if (order != NULL)
sorted[i].key = (*order)(&shuffled[i],
 order_arg);
else
sorted[i].key = 0; /* Unused */
sorted[i].rdata = &shuffled[i];
}
*

which is located in /bind/lib/dns/rdataset.c 

Could anybody help me to understand this piece of code, thank for your time 

Nidal

  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

after Install

2013-08-22 Thread Nidal Shater
Hi
After I installed bind9, by using configuration,make and make install,
I typed "/etc/init.d/named restart" to test Bind, but linux(centos6.3) return 
this :
"/etc/init.d/named: No such file or directory"

could you help me to get rid of it please ?

Nidal

  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

check Bind

2013-08-27 Thread Nidal Shater
Hi I'm using centos-6.3 and I install bind9 on it by using (./configre, make, 
make install) 

How can I test if Bind is installed correctly ( I tried "service named status" 
but I received the error message "named :unrecognized")

Nidal
  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

/etc/named.conf won't be installed !!

2013-08-27 Thread Nidal Shater
hi 
when I install BIND,,,BIND won't install the /etc/named.conf file why ??? I 
think bind has problems with centos6.3 

could anybody figure it out 

PS: I use (./configure ,make, make install ) to install it 


  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

FW: subscribe in bind-developer

2013-08-28 Thread Nidal Shater


From: ngiw2...@hotmail.com
To: bind-users@lists.isc.org
Subject: subscribe in bind-developer
Date: Wed, 28 Aug 2013 16:59:18 +




hi 

how can I subscribe in bind-developer channel ? (bind9 version ),,, because I 
want to modify bind code



  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

the location of dig and named

2013-08-28 Thread Nidal Shater
when I typed dig  or named ,,, what is the location of the executable program 
dig and named is ?

  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

How BIND works ?

2013-08-29 Thread Nidal Shater
Hi , can anybody explain the process that bind9 do When we press dig 
www.example.com.

What the files which is opened ?

What the functions and classes which is used?

and Thanks
  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users