Re: priority with A record?

2011-04-11 Thread Kevin Darcy

On 4/8/2011 2:42 PM, John Wobus wrote:

All the previously-mentioned issues apply, but (obviously)
round robin could be made to offer a select server twice as
often by giving that server an additional address and
A record.  Something similar for nameservers could
be devised.
Mostly unnecessary for nameservers, since as previously mentioned RTT 
(round-trip time) values are used for nameserver selection, if 
available, and is tracked by IP address, not by nameserver name.

I had a vague recollection that one could simply
duplicate an A record in the zone file, but perhaps my
memory is playing tricks on me.

That may have worked at one time, but not for anything that conforms to 
RFC 2181 (published July 1997), Section 5 (It is meaningless for two 
records to ever have label, class, type and data all equal - servers 
should suppress such duplicates if encountered).



- Kevin



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


Re: priority with A record?

2011-04-08 Thread John Wobus

All the previously-mentioned issues apply, but (obviously)
round robin could be made to offer a select server twice as
often by giving that server an additional address and
A record.  Something similar for nameservers could
be devised.

I had a vague recollection that one could simply
duplicate an A record in the zone file, but perhaps my
memory is playing tricks on me.

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


Re: priority with A record?

2011-04-06 Thread iharrathi.ext

Thanks Kevin for the answer,
But rrset-order, can only disble the round robin (cyclic=round robin | random= 
random | fixed=disable round robin)
And sorlist prioritise basing on IP of the client, i don't see anyway how to 
send( for example) 75% of http traffic to bigserver1.mysite.com and 25% of 
traffic to smallserver1.mysite.com
And for the SRV which make exacly what i want, it's not supported by browser.
May be with bind10 we will have this feature for A record like what we have now 
for MX!

Thanks.
Issam HARRATHI




Date: Tue, 05 Apr 2011 12:40:22 -0400
From: Kevin Darcy k...@chrysler.com
Subject: Re: priority with A record?
To: bind-users@lists.isc.org
Message-ID: 4d9b45f6.9090...@chrysler.com
Content-Type: text/plain; charset=iso-8859-1; Format=flowed

On 4/5/2011 8:23 AM, iharrathi@orange-ftgroup.com wrote:
 Hi,
 can i make priority on a A or NS record? Since with round robin if i 
 put  the same record record 2 or 3 time, Bind ignore the duplicates 
 Records, means
  this:

 wikipediaNSns2.wikimedia.org.

 wikipediaNSns0.wikimedia.org.

 is the same like this:

 wikipediaNSns2.wikimedia.org.

 wikipediaNSns0.wikimedia.org.

 wikipediaNSns0.wikimedia.org.

 In this 2 case it will send 50% of traffic to ns2 and 50% to ns0;

 Is there anyway to enable priority on A or NS record?

 Thanks.


For NS records, there is no way to do this in BIND, and it's completely 
unnecessary anyway, since every major DNS full-resolver implementation will 
keep track of how fast nameservers respond -- based on round-trip times, known 
as RTTs -- and prefer faster-responding nameservers over slower-responding 
ones. So the load spreads itself automatically, and failures -- which are 
assessed as really bad performance -- are routed around.

For A/ records, there are mechanisms to control the order in which the 
records are presented. See sortlist and rrset-order (not sure that 
rrset-order even exists in later versions of BIND, since I've never used it 
in production). However, these are only practical on tightly-controlled 
intranets, where all of the BIND-instance configurations can be kept in sync 
with each other, otherwise one BIND instance may undo the careful 
address-record ordering that another performs. rrset-order and sortlist are 
pretty much useless for Internet names, since the vast majority Internet users 
get their DNS through intermediate resolvers, which will usually randomize or 
round-robin the responses whenever they are answering from their caches.

As another poster pointed out, SRV records provide the capability for the 
domain owner to implement per-name failover and weighting of targets, in the 
DNS data itself. But, thusfar the DNS community hasn't had much success getting 
client-software developers (e.g. browser
developers) to adopt SRV record support. Meanwhile, certain network-hardware 
companies (including among others a certain huge router
vendor) rake in big money with their sledgehammer load-balancer device 
approach to the problem. There are software approaches to network 
load-balancing as well, but I have no direct experience with those.

 
 
 
 - Kevin

-- next part --
An HTML attachment was scrubbed...
URL: 
https://lists.isc.org/pipermail/bind-users/attachments/20110405/abe4dd37/attachment-0001.html

--



IMPORTANT.Les informations contenues dans ce message electronique y compris les 
fichiers attaches sont strictement confidentielles
et peuvent etre protegees par la loi.
Ce message electronique est destine exclusivement au(x) destinataire(s) 
mentionne(s) ci-dessus.
Si vous avez recu ce message par erreur ou s il ne vous est pas destine, 
veuillez immediatement le signaler  a l expediteur et effacer ce message 
et tous les fichiers eventuellement attaches.
Toute lecture, exploitation ou transmission des informations contenues dans ce 
message est interdite.
Tout message electronique est susceptible d alteration.
A ce titre, le Groupe France Telecom decline toute responsabilite notamment s 
il a ete altere, deforme ou falsifie.
De meme, il appartient au destinataire de s assurer de l absence de tout virus.

IMPORTANT.This e-mail message and any attachments are strictly confidential and 
may be protected by law. This message is
intended only for the named recipient(s) above.
If you have received this message in error, or are not the named recipient(s), 
please immediately notify the sender and delete this e-mail message.
Any unauthorized view, usage or disclosure ofthis message is prohibited.
Since e-mail messages may not be reliable, France Telecom Group shall not be 
liable for any message if modified

Re: priority with A record?

2011-04-06 Thread iharrathi.ext
Or, get a DNS balancer that will send balance the IP addresses sorted in
random, but weighed order. Note that there are many technical and 
logicalproblems with DNS balancers.
Do you mean that with rrset-order random i can add weight, if yes i don't find 
any documents that talks about that (nothing in the arm.pdf file)

Thanks.
Issam HARRATHI


IMPORTANT.Les informations contenues dans ce message electronique y compris les 
fichiers attaches sont strictement confidentielles
et peuvent etre protegees par la loi.
Ce message electronique est destine exclusivement au(x) destinataire(s) 
mentionne(s) ci-dessus.
Si vous avez recu ce message par erreur ou s il ne vous est pas destine, 
veuillez immediatement le signaler  a l expediteur et effacer ce message 
et tous les fichiers eventuellement attaches.
Toute lecture, exploitation ou transmission des informations contenues dans ce 
message est interdite.
Tout message electronique est susceptible d alteration.
A ce titre, le Groupe France Telecom decline toute responsabilite notamment s 
il a ete altere, deforme ou falsifie.
De meme, il appartient au destinataire de s assurer de l absence de tout virus.

IMPORTANT.This e-mail message and any attachments are strictly confidential and 
may be protected by law. This message is
intended only for the named recipient(s) above.
If you have received this message in error, or are not the named recipient(s), 
please immediately notify the sender and delete this e-mail message.
Any unauthorized view, usage or disclosure ofthis message is prohibited.
Since e-mail messages may not be reliable, France Telecom Group shall not be 
liable for any message if modified, changed or falsified.
Additionally the recipient should ensure they are actually virus free.


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

Re: priority with A record?

2011-04-06 Thread Matus UHLAR - fantomas
 Or, get a DNS balancer that will send balance the IP addresses sorted in
 random, but weighed order. Note that there are many technical and
 logicalproblems with DNS balancers.

On 06.04.11 14:21, iharrathi@orange-ftgroup.com wrote:
 Do you mean that with rrset-order random i can add weight, if yes i don't
 find any documents that talks about that (nothing in the arm.pdf file)

no, you can not. It was already told to you. However there are quite
possible some DNS servers that support weighing. But, again, DNS is not
suited for such usage.
-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average. 
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


priority with A record?

2011-04-05 Thread iharrathi.ext
Hi,
can i make priority on a A or NS record? Since with round robin if i put  the 
same record record 2 or 3 time, Bind ignore the duplicates Records, means
 this:
wikipedia  NS   ns2.wikimedia.org.
wikipedia  NS   ns0.wikimedia.org.

is the same like this:

wikipedia  NS   ns2.wikimedia.org.
wikipedia  NS   ns0.wikimedia.org.
wikipedia  NS   ns0.wikimedia.org.



In this 2 case it will send 50% of traffic to ns2 and 50% to ns0;
Is there anyway to enable priority on A or NS record?
Thanks.


IMPORTANT.Les informations contenues dans ce message electronique y compris les 
fichiers attaches sont strictement confidentielles
et peuvent etre protegees par la loi.
Ce message electronique est destine exclusivement au(x) destinataire(s) 
mentionne(s) ci-dessus.
Si vous avez recu ce message par erreur ou s il ne vous est pas destine, 
veuillez immediatement le signaler  a l expediteur et effacer ce message 
et tous les fichiers eventuellement attaches.
Toute lecture, exploitation ou transmission des informations contenues dans ce 
message est interdite.
Tout message electronique est susceptible d alteration.
A ce titre, le Groupe France Telecom decline toute responsabilite notamment s 
il a ete altere, deforme ou falsifie.
De meme, il appartient au destinataire de s assurer de l absence de tout virus.

IMPORTANT.This e-mail message and any attachments are strictly confidential and 
may be protected by law. This message is
intended only for the named recipient(s) above.
If you have received this message in error, or are not the named recipient(s), 
please immediately notify the sender and delete this e-mail message.
Any unauthorized view, usage or disclosure ofthis message is prohibited.
Since e-mail messages may not be reliable, France Telecom Group shall not be 
liable for any message if modified, changed or falsified.
Additionally the recipient should ensure they are actually virus free.


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

Re: priority with A record?

2011-04-05 Thread Eivind Olsen
iharrathi@orange-ftgroup.com wrote:
 Is there anyway to enable priority on A or NS record?

No.

Regards
Eivind Olsen


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


Re: priority with A record?

2011-04-05 Thread Warren Kumari

On Apr 5, 2011, at 8:23 AM, iharrathi@orange-ftgroup.com wrote:

 Hi,
 can i make priority on a A or NS record? Since with round robin if i put  the 
 same record record 2 or 3 time, Bind ignore the duplicates Records, means
  this:
 wikipedia  NS   ns2.wikimedia.org.
 wikipedia  NS   ns0.wikimedia.org.
  
 is the same like this:
  
 wikipedia  NS   ns2.wikimedia.org.
 wikipedia  NS   ns0.wikimedia.org.
 wikipedia  NS   ns0.wikimedia.org.
  
  
  
 In this 2 case it will send 50% of traffic to ns2 and 50% to ns0;
 Is there anyway to enable priority on A or NS record?

Well, there's SRV records, but not much supports them, so, no...

W


 Thanks.
 
 IMPORTANT.Les informations contenues dans ce message electronique y compris 
 les fichiers attaches sont strictement confidentielles
 et peuvent etre protegees par la loi.
 Ce message electronique est destine exclusivement au(x) destinataire(s) 
 mentionne(s) ci-dessus.
 Si vous avez recu ce message par erreur ou s il ne vous est pas destine, 
 veuillez immediatement le signaler  a l expediteur et effacer ce message 
 et tous les fichiers eventuellement attaches.
 Toute lecture, exploitation ou transmission des informations contenues dans 
 ce message est interdite.
 Tout message electronique est susceptible d alteration.
 A ce titre, le Groupe France Telecom decline toute responsabilite notamment s 
 il a ete altere, deforme ou falsifie.
 De meme, il appartient au destinataire de s assurer de l absence de tout 
 virus.
 
 IMPORTANT.This e-mail message and any attachments are strictly confidential 
 and may be protected by law. This message is
 intended only for the named recipient(s) above.
 If you have received this message in error, or are not the named 
 recipient(s), please immediately notify the sender and delete this e-mail 
 message.
 Any unauthorized view, usage or disclosure ofthis message is prohibited.
 Since e-mail messages may not be reliable, France Telecom Group shall not be 
 liable for any message if modified, changed or falsified.
 Additionally the recipient should ensure they are actually virus free.
 
 
 ___
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users

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


Re: priority with A record?

2011-04-05 Thread Kevin Darcy

On 4/5/2011 8:23 AM, iharrathi@orange-ftgroup.com wrote:

Hi,
can i make priority on a A or NS record? Since with round robin if i 
put  the same record record 2 or 3 time, Bind ignore the duplicates 
Records, means

 this:

wikipediaNSns2.wikimedia.org.

wikipediaNSns0.wikimedia.org.

is the same like this:

wikipediaNSns2.wikimedia.org.

wikipediaNSns0.wikimedia.org.

wikipediaNSns0.wikimedia.org.

In this 2 case it will send 50% of traffic to ns2 and 50% to ns0;

Is there anyway to enable priority on A or NS record?

Thanks.


For NS records, there is no way to do this in BIND, and it's completely 
unnecessary anyway, since every major DNS full-resolver implementation 
will keep track of how fast nameservers respond -- based on round-trip 
times, known as RTTs -- and prefer faster-responding nameservers over 
slower-responding ones. So the load spreads itself automatically, and 
failures -- which are assessed as really bad performance -- are routed 
around.


For A/ records, there are mechanisms to control the order in which 
the records are presented. See sortlist and rrset-order (not sure 
that rrset-order even exists in later versions of BIND, since I've 
never used it in production). However, these are only practical on 
tightly-controlled intranets, where all of the BIND-instance 
configurations can be kept in sync with each other, otherwise one BIND 
instance may undo the careful address-record ordering that another 
performs. rrset-order and sortlist are pretty much useless for Internet 
names, since the vast majority Internet users get their DNS through 
intermediate resolvers, which will usually randomize or round-robin the 
responses whenever they are answering from their caches.


As another poster pointed out, SRV records provide the capability for 
the domain owner to implement per-name failover and weighting of 
targets, in the DNS data itself. But, thusfar the DNS community hasn't 
had much success getting client-software developers (e.g. browser 
developers) to adopt SRV record support. Meanwhile, certain 
network-hardware companies (including among others a certain huge router 
vendor) rake in big money with their sledgehammer load-balancer device 
approach to the problem. There are software approaches to network 
load-balancing as well, but I have no direct experience with those.





- Kevin


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