Re: adding new RR?

2009-10-16 Thread aihua zhang
I have a project ,in this project i need  a Global-scale Mapping System,so
the first step i  just nedd to build small-private DNS-based enviroment,and
achieve my goal.
in order to accomplish these i  need to adding a new RR(eg. mapping_RR) and
creat a new domain(which maintain the mapping info,and the type of  mapping
info  is mapping_RR).
Now here is design,client-program send a mapping request,resolver can tell
the request type ,and send to proper domain-nameserver and send reply back.

yestoday, i have check lib\dns\rdata\in_1\_28.c,but i don't know the
whole project will work if i just  imitate _28.c to write a
mapping_RR.c  . if it doesn't work ,please direct me with some papers or
Independent Code. thanks!

2009/10/16 bind-users-requ...@lists.isc.org

 Send bind-users mailing list submissions to
bind-users@lists.isc.org

 To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/bind-users
 or, via email, send a message with subject or body 'help' to
bind-users-requ...@lists.isc.org

 You can reach the person managing the list at
bind-users-ow...@lists.isc.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of bind-users digest...


 Today's Topics:

   1. Re: Nslookup not showng TTL (Kevin Darcy)
   2. Re: Nslookup not showng TTL (Sam Wilson)
   3. RE: Nslookup not showng TTL (Frank Bulk - iName.com)
   4. Re: Nslookup not showng TTL (John Horne)
   5. Re: Nslookup not showng TTL (Matthew Pounsett)
   6. Re: adding new RR?  (Mark Andrews)
   7. Re: Nslookup not showng TTL  (Mark Andrews)
   8. Re: Nslookup not showng TTL (Doug Barton)


 --

 Message: 1
 Date: Thu, 15 Oct 2009 13:15:27 -0400
 From: Kevin Darcy k...@chrysler.com
 Subject: Re: Nslookup not showng TTL
 To: Bind users bind-users@lists.isc.org
 Message-ID: 4ad758af.6020...@chrysler.com
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 John Horne wrote:
  On Thu, 2009-10-15 at 10:47 +0200, Adam Tkac wrote:
 
  On Thu, Oct 15, 2009 at 09:06:56AM +0100, John Horne wrote:
 
  How can I see the TTL value using nslookup?
 
  I'm not sure how force nslookup to show TTL but the `dig` utility is
  far more better tool for getting such information:
 
 
  I agree, it's not for me though :-)
 
  I have to teach some Windows people about the DNS, and wanted to show
  them that they could use 'nslookup' on either the Linux box provided, or
  their own Windows PC's. In this instance the TTL is important. So I was
  hoping that the MS and BIND nslookup commands would display something
  pretty much similar to each other so as not to confuse the people too
  much.
 
  As far as I can tell no BIND 9 nslookup command shows the TTL. I am
  currently looking at an 8.2.3 version to see if I can patch the 9.5.1
  one to display TTL's again. It may, however, be better to introduce them
  to dig rather than having to maintain the nslookup command.
 
 Removing features from nslookup gets us that much closer to KILLING and
 BURYING it. Forever.

 If I had a nickel for every time someone mis-read the output of nslookup
 and mistook the nameserver's name, for the name of the server they're
 actually looking up, well, let's just say I probably wouldn't be posting
 to bind-users from my work account...

 (Fortunately nslookup's whole won't do a lookup because I can't
 reverse-resolve my resolver bogosity isn't really an issue at Chrysler,
 since we maintain proper reverse mappings, but that's another popular
 nslookup sucks, don't use it-category posting to this mailing list)


   - Kevin




 --

 Message: 2
 Date: Thu, 15 Oct 2009 18:28:14 +0100
 From: Sam Wilson sam.wil...@ed.ac.uk
 Subject: Re: Nslookup not showng TTL
 To: comp-protocols-dns-b...@isc.org
 Message-ID: sam.wilson-c03ecd.18281415102...@scotsman.ed.ac.uk

 In article mailman.715.1255626934.14796.bind-us...@lists.isc.org,
  Kevin Darcy k...@chrysler.com wrote:

  (Fortunately nslookup's whole won't do a lookup because I can't
  reverse-resolve my resolver bogosity isn't really an issue at Chrysler,
  since we maintain proper reverse mappings, but that's another popular
  nslookup sucks, don't use it-category posting to this mailing list)

 Fortunately (or not - it would be another nail) that bogosity is gone
 from recent nslookups.

 Sam


 --

 Message: 3
 Date: Thu, 15 Oct 2009 13:37:50 -0500
 From: Frank Bulk - iName.com frnk...@iname.com
 Subject: RE: Nslookup not showng TTL
 To: 'John Horne' john.ho...@plymouth.ac.uk, Bind users
bind-users@lists.isc.org
 Message-ID:

  
 !!AAAuAKTyXRN5/+lGvU59a+P7CFMBAN6gY+ZG84BMpVQcAbDh1IQTbSgAABByxxjEVKg2S57lnbEsu38YAQA=@
 iname.com

 Content-Type: text/plain;   charset=us-ascii

 You can do an ipconfig /displaydns to see some TTL info.

 Frank

Re: adding new RR?

2009-10-15 Thread Matus UHLAR - fantomas
On 15.10.09 21:29, aihua zhang wrote:
 recently,i want to modify source code of BIND9.6.1 to adding new RR.

Don't do that. You bind will be incompatible with any other DNS server and
it could lead to

 Now,i just begin to check  RR to see how it work,but i find this method
 exhausting me.i don't think this way is effective,so i'm very appreciate
 some one  could give me a guid, or some example:souce code is perfect

Better try to explain what do you want to achieve
-- 
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.
42.7 percent of all statistics are made up on the spot. 
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: adding new RR?

2009-10-15 Thread Mark Andrews

In message 20091015135428.ga19...@fantomas.sk, Matus UHLAR - fantomas writes:
 On 15.10.09 21:29, aihua zhang wrote:
  recently,i want to modify source code of BIND9.6.1 to adding new RR.
 
 Don't do that. You bind will be incompatible with any other DNS server and
 it could lead to

As long as the type is registered it doesn't matter. 

  Now,i just begin to check  RR to see how it work,but i find this method
  exhausting me.i don't think this way is effective,so i'm very appreciate
  some one  could give me a guid, or some example:souce code is perfect

You have lots of examples. see lib/dns/rdata/*/*.[ch]  This is where the
rdata are defined.   Just run make clean then make once you have
created the new files so that the build process can find them.
 
 Better try to explain what do you want to achieve
 -- 
 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.
 42.7 percent of all statistics are made up on the spot. 
 ___
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users