Fajar A. Nugraha
work at fajar.net
Tue Jun 14 12:12:12 UTC 2011
Please don't remove cc to the list
On Tue, Jun 14, 2011 at 5:27 PM, Vignesh Gadiyar <vcgadiyar at gmail.com> wrote:
> BIND gives us the resolved IP addresses right before sending back the reply.
> I have a code which ranks those based on some parameters. I wanted to know
> where exactly in BIND should we add that code.
Now that you're giving more details, hopefuly others will be able to help you.
> On Tue, Jun 14, 2011 at 3:08 PM, Fajar A. Nugraha <work at fajar.net> wrote:
>> On Tue, Jun 14, 2011 at 3:04 PM, Vignesh Gadiyar <vcgadiyar at gmail.com>
>> > Hi,
>> > I am Vignesh from Bangalore and i was developing an application using
>> > Open
>> > source BIND wherein i needed to know where exactly, i mean from which
>> > function do we get the IP addresses looked up from the Domain names
>> > inputted, so as to perform the required functions on those ip addresses
>> > and
>> > return my result back to the client.i don't want to hack the the name
>> > server
>> > as such. I just want to know
>> > where i will be able to get the results obtained from the name server as
>> > in from which function?.Any sort of help will be appreciated.
>> > Regards,
>> > Vignesh.
>> What will you use BIND for?
>> If it's just to resolve hostnames, most programming language has
>> gethostbyname() and gethostbyaddr() which should work even without
>> having BIND explicitly installed.
More information about the bind-users