#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    1
    Rep Power
    0

    Discover DNS Server


    Hi
    How can a node discover the DNS Server in the network other than through DHCP /manual configurations ?

    Is there any broadcast message specific for DNS Server ?

    Thanks
    Rohini
  2. #2
  3. DNS/BIND Guru
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2003
    Location
    OH, USA
    Posts
    4,266
    Rep Power
    173
    heh. There is no specific broadcast message in the DNS protocol, but considering how broadcast is just UDP, and it is sent to every UDP bound service on a given port, then I dont' see why you can't manipulate things a little. You may have to code a little program though. This program would send a UDP broadcast DNS request on port 53. Then it will sit back and take note of any responses that are sent from dns servers on the network. Then the program can notify the user of all the server IP's.

IMN logo majestic logo threadwatch logo seochat tools logo