How to make my server be resolved by IP address and get the domain name. For example: then Anyone can use:
resolveip <my-ip>
And get the output of my domain name; like www.xyz.com.
How to make my server be resolved by IP address and get the domain name. For example: then Anyone can use:
resolveip <my-ip>
And get the output of my domain name; like www.xyz.com.
If your IP address is a.b.c.d
, then you need to add the following DNS entry:
d.c.b.a.IN-ADDR.ARPA IN PTR your-domain.name.
This entry needs to be added to the authoritative name server that hosts the zone in which it is located. That server is usually run by your service provider.
If your IP address is abcd:9efg:hijk:lmno:pqrs:tuvw:xyz0:1234
, then you need to add the following DNS entry:
4.3.2.1.0.z.y.x.w.v.u.t.s.r.q.p.o.n.m.l.k.j.i.h.g.f.e.9.d.c.b.a.IP6.ARPA IN PTR your-domain.name.
Again, in the appropriate zone file.
a.b.c.d
to a name. Generally, this means that the c.b.a.IN-ADDR.ARPA
zone or some higher zone must already have been delegated to you by a higher authority.
– Celada
Jan 30 '15 at 14:32
Contact the administrator of your ip-range and ask them to set up the PTR or reverse DNS record for your ip-address to your desired server name. If you have a range assigned by your provider they may offer the option to delegate reverse DNS of your ip-range to your DNS servers
Typically most VPS and server providers have a provision for that in their control panel allowing their customers to do that themselves.