Re: Deallocating memory in isc code.

2011-06-08 Thread kalpesh varyani
Thanks for the information. The reason I asked these questions is that after incorporating these changes in builtin.c, memory leak is bein reported. Memory leak goes away on reverting the changes from builtin.c file. > > 1. Even if *builtin_t *empty; *is local to the function *builtin_create*, can

RE: second nameserver with two IPs

2011-06-08 Thread Lightner, Jeff
You can have a thousand IPs and it won't matter so long as you configure your named.conf to use a specific IP in notify-source and transfer-source. -Original Message- From: bind-users-bounces+jlightner=water@lists.isc.org [mailto:bind-users-bounces+jlightner=water@lists.isc.org]

Re: second nameserver with two IPs

2011-06-08 Thread Jonathan Stewart
On Tue, Jun 7, 2011 at 20:37, Jeff Peng wrote: > Hello, > > My second nameserver has tow IPs, for example, > > 61.144.56.1 > 61.144.57.1 > (They are in different CIDRs.) > > and my ns2.example.com was pointed to these two IPs. > > Will this cause problems, for example, the duplicated notification

Re: Deallocating memory in isc code.

2011-06-08 Thread Mark Andrews
In message , kalpesh varyani writes: > Hi, > > Is it necessary to deallocate memory assigned using isc_mem_get() by > explicitly using isc_mem_free()? No. You use isc_mem_put(). See > Ref: File builtin.c is available at > ftp://1node.net/linux/bind-9.7.0b1/bin/named/*builtin*.*c*

Deallocating memory in isc code.

2011-06-08 Thread kalpesh varyani
Hi, Is it necessary to deallocate memory assigned using isc_mem_get() by explicitly using isc_mem_free()? Ref: File builtin.c is available at ftp://1node.net/linux/bind-9.7.0b1/bin/named/*builtin*.*c* Following is the code snippet: static

Re: BIND error: opcode: QUERY, status: SERVFAIL

2011-06-08 Thread Mark Andrews
Amit, the delegation for hostsearchindia.com is broken. This is breaking lookups of goelexports.com. The com servers have the following NS records listed for hostsearchindia.com. hostsearchindia.com.172800 IN NS ns.hostsearchindia.com. hostsearchindia.com.172800 IN

Re: BIND error: opcode: QUERY, status: SERVFAIL

2011-06-08 Thread kshitij mali
Hi All , I am unable to lookup some domain getting SERVFAIL error to the dig command find the result below: [root@D1OKH680RL ~]# dig goelexports.com ; <<>> DiG 9.2.4 <<>> goelexports.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 63082 ;; fl