I am trying to implement a 'gethostbyname' like program that retrieves nameserver information available in the MX records as a learning exercise (using procedures available in bind) As I am somewhat new to this area, I would gratefully appreciate any information about how to start and go about this. thanks in advance George Roy