Re: Loadbalance caching dns server

2012-03-20 Thread trm asn
On Tue, Mar 20, 2012 at 4:40 PM, Stefan Certic wrote:

> Hi,
>
> That can be achieved using iptables:
>
> iptables -A PREROUTING -i eth0 -p tcp --dport 53 -m state --state NEW -m
> nth --counter 0 --every N --packet 0 -j DNAT --to-destination
> 192.168.1.98:53
> iptables -A PREROUTING -i eth0 -p tcp --dport 53 -m state --state NEW -m
> nth --counter 0 --every N --packet 1 -j DNAT --to-destination
> 192.168.1.99:53
>
> Where N represent packet number.
>
> Regards,
>
> On Tue, Mar 20, 2012 at 10:11 AM, trm asn  wrote:
>
>> Dear List,
>>
>> Is there any mechanism to load balance Caching-DNS server. For example..
>>
>> Cache-DNS1 : 192.168.1.98
>> Cache-DNS2: 192.168.1.99
>>
>> Client : 192.168.1.199
>>
>> When  192.168.1.199 send 10 request to query cache-dns then this 10
>> request will be send to each Cache-DNS server with a load balance method.
>> Each server will get 5 requests.
>>
>>
>> /\
>> TRM
>>
>> _
>>
>
Requirement is slightly different.

The client's request can go to any of the Caching server. If one of the
Caching server down, then also it should serve the request from 2nd server.
Is there any way where I can configure the VIP and that VIP will
communicate to the down stream both the caching dns server. So the client
will be configured with VIP in resolve.conf file.

/\
TRM
___
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

Re: Subdomain Issue

2011-11-10 Thread trm asn
On Thu, Nov 10, 2011 at 8:28 PM, Lyle Giese  wrote:

> On 11/09/11 15:59, trm asn wrote:
>
>>
>>
>> On Wed, Nov 9, 2011 at 3:15 PM, Matus UHLAR - fantomas
>> mailto:uh...@fantomas.sk>> wrote:
>>
>>Now I have only one question:
>>
>>
>>On 08.11.11 20:27, trm asn wrote:
>>
>>The moment I have done the "rndc reload example.com
>><http://example.com>", the domain and all
>>
>>subdomain were became not resolvable.
>>
>>
>>what does the named's log say?
>>
>>--
>>
>>
>> Is there any thing wrong if I declare my zone like this as below...
>>
>> $TTL 300
>> @   IN  SOA ns4.example.com. postmaster.example.com. (
>> 200806  ; Serial Number
>> 10800   ; Refresh after 3 hours
>> 3600; Retry after 1 hour
>> 604800  ; Expire after 1 week
>> 300 ) ; Minimum TTL of 1 day
>> ; Name servers
>> IN  NS ns4.example.com
>> IN  NS ns2.example.com
>> IN  NS ns1.example.com
>> testINNS ns1973.hostgator.com
>> testINNS ns1974.hostgator.com
>>
>> INA203.39.45.19
>> INMX mail.goole.com
>> wwwINCNAME example.com
>>
>> aINA203.39.45.20
>> bINA203.39.45.21
>>
>>
>> /\
>> *Tarak*
>> *
>>
>
> Where are your A records for your name servers, ns1.example.com, ns2,
> example.com and ns4.example.com?
>
> And please answer the question above, what does the named's log say when
> starting up?
>
> Lyle Giese
> LCR Computer Services, Inc.
>
> ns4 named[3073]: client 116.48.39.92#61358: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 1.22.246.108#55201: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 1.22.246.108#62801: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 1.22.246.108#51446: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 1.22.246.108#51446: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 1.22.246.108#51446: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 220.226.190.130#24055: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 116.48.39.92#64924: updating zone
'example.com/IN <http://example.com/IN>': update failed: 'RRset exists

(value dependent)' prerequisite not satisfied
 (NXRRSET)
ns4 named[3073]: client 116.48.39.92#60524: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 116.48.39.92#51572: updating zone
'example.com/IN <http://example.com/IN>': update failed: 'RRset exists

(value dependent)' prerequisite not satisfied
 (NXRRSET)
ns4 named[3073]: client 116.48.39.92#53227: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 202.134.152.150#1050: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 202.134.152.150#1082: updating zone
'example.com/IN <http://example.com/IN>': update failed: 'RRset exists

(value dependent)' prerequisite not satisfi
ed (NXRRSET)
ns4 named[3073]: client 202.134.152.150#1085: update 'example.com/IN
<http://example.com/IN>' denied

ns4 named[3073]: client 116.48.39.92#54887: updating zone
'example.com/IN <http://example.com/IN>': update failed: 'RRset exists

(value dependent)' prerequisite not satisfied
 (NXRRSET)
ns4 named[3073]: client 116.48.39.92#64927: update 'example.com/IN
<http://example.com/IN>' denied


Above are the logs, & it's flooded with those error messages .

/\
Tarak
___
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

Re: Subdomain Issue

2011-11-09 Thread trm asn
On Wed, Nov 9, 2011 at 3:15 PM, Matus UHLAR - fantomas wrote:

> Now I have only one question:
>
>
> On 08.11.11 20:27, trm asn wrote:
>
>> The moment I have done the "rndc reload example.com", the domain and all
>> subdomain were became not resolvable.
>>
>
> what does the named's log say?
>
> --
>

Is there any thing wrong if I declare my zone like this as below...

$TTL 300
@   IN  SOA ns4.example.com. postmaster.example.com. (
200806  ; Serial Number

10800   ; Refresh after 3 hours
3600; Retry after 1 hour
604800  ; Expire after 1 week
300 ) ; Minimum TTL of 1 day
; Name servers
IN  NS  ns4.example.com.
IN  NS  ns2.example.com.
IN  NS  ns1.example.com.
*testINNSns1973.hostgator.com.
testINNSns1974.hostgator.com.*
INA203.39.45.19
INMXmail.goole.com.
wwwINCNAMEexample.com.
aINA203.39.45.20
bINA203.39.45.21
*

/\
*Tarak*
*
___
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

Subdomain Issue

2011-11-08 Thread trm asn
Dear List,

Please help me out to investigate the below scenario .

I have one domain "example.com"

$TTL 300
@   IN  SOA ns4.example.com. postmaster.example.com. (

  200806  ; Serial Number
10800   ; Refresh after 3 hours
3600; Retry after 1 hour
604800  ; Expire after 1 week
300 ) ; Minimum TTL of 1 day
; Name servers
IN  NS  ns4.example.com.
IN  NS  ns2.example.com.
IN  NS  ns1.example.com.

INA203.39.45.19
INMXmail.goole.com.
wwwINCNAMEexample.com.
aINA203.39.45.20
bINA203.39.45.21
*testINNSns1973.hostgator.com.
testINNSns1974.hostgator.com.*

named-checkzone  example.com named.example.com.forward < No Error


The moment I have done the "rndc reload example.com", the domain and all
subdomain were became not resolvable.

After commenting out below entries & rndc reload , all back to normal.
*;testINNSns1973.hostgator.com.
;testINNSns1974.hostgator.com.*

Please help me out on this issue.

/\
Tarak
___
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