Metaregistrar EPP documentation

All host commands: (check) (create) (delete) (info) (modify)

Host info

To retrieve information about the attributes of a host object you need to use the host:info command. This has just one sub element, the hostname.

<?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0"> <command> <info> <host:info> <host:name>ns1.docu-test-case.com</host:name> </host:info> </info> <clTRID>57d147f09424d</clTRID> </command> </epp>

You will then receive a normal host info response.

<?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:ext="http://www.metaregistrar.com/epp/ext-1.0" xmlns:command-ext="http://www.metaregistrar.com/epp/command-ext-1.0" xmlns:command-ext-domain="http://www.metaregistrar.com/epp/command-ext-domain-1.0" xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1" xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0"> <response> <result code="1000"> <msg>Command completed successfully</msg> </result> <resData> <host:infData> <host:name>ns1.docu-test-case.com</host:name> <host:roid>d904faf1-2ccb-48b9-aa41-d8a090c89de9</host:roid> <host:status s="ok"><![CDATA[No changes pending]]></host:status> <host:addr ip="v4"><![CDATA[1.2.3.4]]></host:addr> <host:clID>mtrewoutdg</host:clID> <host:crID>mtrewoutdg</host:crID> <host:crDate>2016-09-08T11:13:53.000000+0000</host:crDate> </host:infData> </resData> <trID> <svTRID>MTR_75aa21fe6aae20d153d2d016a00c017dbc8fc168</svTRID> <clTRID>57d147f09424d</clTRID> </trID> </response> </epp>