Domain to IP Address

James Raftery james-bind-users at now.ie
Tue Jan 2 16:11:21 UTC 2001


On Tue, Jan 02, 2001 at 01:17:14PM +0000, Bala Bhaskar G wrote:
> Can any tell me how to resolve a dns domain to an IP address.

Add an A record to your zone file for that zone, update your serial
number and reload that zone.

> Is this possible if so how ??

In the section of your zone file when you define the SOA for xyz.com and
the MXs (if you have any) for xyz.com, add an A record for xyz.com.

It'll look something like this:


$TTL 172800
@       IN      SOA     banba.now.ie.  hostmaster.now.ie. (
                        2000092101      ; Serial
                        14400           ; Refresh
                        7200            ; Retry
                        2592000         ; Expire
                        172800 )        ; Minim

        IN      NS      banba.now.ie.
        IN      NS      blofeld.now.ie.

	IN      MX      blofeld.now.ie.

	IN	A	212.17.32.32

james
-- 
James Raftery (JBR54)
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on dns at list.cr.yp.to.



More information about the bind-users mailing list