About RIPE | Contact  | Search | Sitemap    
Homepage RIPE  
RIPE Community Mail Archives
search  
     
RIPE Navigation Ends
About RIPE Maillists
Maillists Archive
Global Lists
Non Active Lists
RIPE NCC Navigation Ends
Next Section
<<< Chronological >>> Author Index    Subject Index <<< Threads >>>

Re: AS information available via DNS

  • To: Havard Eidnes < >
  • From: Tony Bates < >
  • Date: Tue, 11 May 93 10:32:13 +0200
  • Cc:

 Havard Eidnes <Havard.Eidnes@localhost writes:
  * ------- =_aaaaaaaaaa0
  * Content-Type: text/plain; charset="us-ascii"
  * 
  * > 	As one of the actions from the  last RIPE meeting we have been thinking
  * > about a nice way to have an automatic update procedure based on DNS. As a
  * > trial for this an auto-script has been been produced that loads current
  * > AS derived data into zonefiles under the domain aut-num.ripe.net. This
  * > has two very nice features straight away. It allows you to see a list of
  * > networks associated with an AS. For example...
  * > 
  * > [mature-tony-1480] host -lt txt as1104.aut-num.ripe.net
  * > AS1104.aut-num.ripe.net TXT     192.16.185.0
  * > AS1104.aut-num.ripe.net TXT     192.16.186.0
  * > AS1104.aut-num.ripe.net TXT     192.16.194.0
  * > AS1104.aut-num.ripe.net TXT     192.16.195.0
  * > AS1104.aut-num.ripe.net TXT     192.16.199.0
  * > AS1104.aut-num.ripe.net TXT     192.87.45.0
  * 
  * I've only one comment (I think): for large ASes there will be a lot of text
  * stored for a single label.  If you should try using DNS/UDP to query for
  * TXT for this label, default maximum DNS response packet size (512 bytes?)
  * will likely overflow.  If the resolver library in use followed the Host
  * Requirements it should notice a truncated response, and retry with TCP, but
  * who has a resolver library which correctly implements this?  I'm not sure
  * the resolver library in BIND does this right...  Witness the attached
  * output of "dig" and note the "tc" flag.  You could use A records instead, I
  * guess, and save some space in the DNS response packets, but this just
  * postpons the problem a short while.  I see you already did that (see
  * below), but I still get a truncated response to the as224.aut-num.ripe.net
  * query, so there you go...
  * 
Sure - this we knew about but not sure how else to do it. My feeling is that 
most people well probably do zone transfers of the data anyway. Some of us do 
have good resolvers as well but I agree this is not a very good answer. One 
thing I did on the suggestion of Peter Koch was change the entries to A RRs. 
A RRs use less RDATA than TXT as you say but it doesn't help much.

  * However, if all you are interested in doing is zone transfers, then TCP is
  * already in use anyway, so maybe this is not of such a great concern.  I
  * should however point out that storing massive amounts of information on a
  * single label is fairly "unconventional use" of the DNS (?), which may
  * stress-test some pieces of code in new ways...
  * 
Yes - this is interesting. Currently it is not too bad although it takes a
little while (order of seconds) to load the data from scrath however
as you saw from the RIPE meeting we only have about 25% AS coverage so far.


  * I'm not sure of what a solution to this problem should be, however, or
  * whether we just ignore the problem.
  * 
That was my feeling too. If people like the idea and we can reliably use
it for the update procedure then I'll just make sure we either make 
"warning" documentation to use TCP based queries or we put up a good 
resolver.

  * 
  * - Havard
  * 
Thanks for your comments,

		--Tony



  • Post To The List:
<<< Chronological >>> Author    Subject <<< Threads >>>
 

Next Section
     About RIPE | Site Map | LIR Portal | About the RIPE NCC | Contact | © RIPE Community. All rights reserved.
RIPE.NET Homepage LIR Portal RIPE Community