Want to know if there is any way to add custom RR type.(like ip & ipv6)

Onha Choe ochoe at andrew.cmu.edu
Tue Sep 13 18:31:47 UTC 2011


Okay, this seems really nice place to start my work.

But just for the sake of convenience, is there a way to rename

TYPE<#> to something that I want?

And how should I go about to implement conversion of data back and forth between octets and string rep. in the zone file, as A, AAAA, and most other RR types do?

would that require me to go too deep on the src?


On Sep 13, 2011, at 10:47 AM, Warren Kumari wrote:

> On Sep 13, 2011, at 9:49 AM, Onha Choe wrote:
> 
>> Im trying to make a new addressing scheme, and want to use bind to provide name service.
>> 
>> The addressing is not compatible with known ones, and thus need to extend to support mine.
>> 
>> Is there any way to do this?
> 
> Yes.
> 
>> preferably innately supported by bind9?
> 
> Yes...
> 
> But, be *VERY VERY* careful here -- I'm going ot assume that you are only doing this as an internal test / example, with a *very* limited number of  participants.
> You should *really* document what it is that you are trying to do with this addressing scheme in an Internet-Draft and apply for a RR code point so that you won't conflict with anyone (65280-65534  are "Reserved for Private Use", so you should be OK, but keep the above in mind...)...
> 
> Here is how:
> Simply toss the RR into the zone like you would any other, listing TYPE<type number> \# <bytes> <data>. 
> 
> So, for example:
> 
> test.example.com    IN    TYPE65532 \# 3 010203
> 
> is a RR of type 65532, it's 3 octets long, and the data is 010203.
> 
> W
> 
>> _______________________________________________
>> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>> 
>> bind-users mailing list
>> bind-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/bind-users
>> 
> 
> 




More information about the bind-users mailing list