From: <og...@og...> - 2006-10-26 20:18:41
|
At 15:51 26/10/2006, Sreenivasa Mulakala wrote: >Brian, > >I am sorry to hear this. > >Actually I am able to add the entry. I did read your examples. I grabbed the >code from there only. > >Here is the code I am using > > Name zoneName = Name.fromString(zone); > Name host = Name.fromString("www.junk.com", zoneName); > Update update = new Update(zoneName); > update.add(host, Type.PTR, 3600, ipAddress); ^^^^^^^^^^^^ Fourth parameter (RDATA) specifies an address you need to change this to the name you want. Olafur |