<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<command>
<info>
<domain:info
xmlns:domain="http://www.nominet.org.uk/epp/xml/nom-domain-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-domain-1.0
nom-domain-1.0.xsd">
<domain:name>example.co.uk</domain:name>
</domain:info>
</info>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:infData
xmlns:domain="http://www.nominet.org.uk/epp/xml/nom-domain-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-domain-1.0
nom-domain-1.0.xsd">
<domain:name>example.co.uk</domain:name>
<domain:reg-status>Registration request being processed.</domain:reg-status>
<domain:account>
<account:infData
xmlns:account="http://www.nominet.org.uk/epp/xml/nom-account-1.0"
xmlns:contact="http://www.nominet.org.uk/epp/xml/nom-contact-1.0">
<account:roid>S123456</account:roid>
<account:name>Mr R. Strant</account:name>
<account:trad-name>R. S. Industries</account:trad-name>
<account:type>STRA</account:type>
<account:co-no>NI123456</account:co-no>
<account:opt-out>N</account:opt-out>
<account:addr type="admin">
<account:street>2102 High Street</account:street>
<account:locality>Carfax</account:locality>
<account:city>Oxford</account:city>
<account:county>Oxfordshire</account:county>
<account:postcode>OX1 1DF</account:postcode>
<account:country>GB</account:country>
</account:addr>
<account:contact type="admin" order="1">
<contact:infData>
<contact:roid>C12345</contact:roid>
<contact:name>Mr R.Strant</contact:name>
<contact:phone>01865 123456</contact:phone>
<contact:fax>01865 123456</contact:fax>
<contact:email>r.strant@strant.co.uk</contact:email>
<contact:clID>TEST</contact:clID>
<contact:crID>domains@isp.com</contact:crID>
<contact:crDate>1999-04-03T22:00:00.0Z</contact:crDate>
<contact:upID>domains@isp.com</contact:upID>
<contact:upDate>1999-12-03T09:00:00.0Z</contact:upDate>
</contact:infData>
</account:contact>
<account:contact type="admin" order="2">
<contact:infData>
<contact:roid>C23456</contact:roid>
<contact:name>Ms S. Strant</contact:name>
<contact:phone>01865 123457</contact:phone>
<contact:fax>01865 123456</contact:fax>
<contact:email>s.strant@strant.co.uk</contact:email>
<contact:clID>TEST</contact:clID>
<contact:crID>domains@isp.com</contact:crID>
<contact:crDate>1999-04-03T22:00:00.0Z</contact:crDate>
<contact:upID>domains@isp.com</contact:upID>
<contact:upDate>1999-12-03T09:00:00.0Z</contact:upDate>
</contact:infData>
</account:contact>
<account:contact type="billing" order="1">
<contact:infData>
<contact:roid>C12347</contact:roid>
<contact:name>A. Ccountant</contact:name>
<contact:phone>01865 657893</contact:phone>
<contact:email>acc@billing.co.uk</contact:email>
<contact:clID>TEST</contact:clID>
<contact:crID>domains@isp.com</contact:crID>
<contact:crDate>1999-04-03T22:00:00.0Z</contact:crDate>
<contact:upID>domains@isp.com</contact:upID>
<contact:upDate>1999-12-03T09:00:00.0Z</contact:upDate>
</contact:infData>
</account:contact>
<account:clID>TEST</account:clID>
<account:crID>TEST</account:crID>
<account:crDate>1999-04-03T22:00:00.0Z</account:crDate>
<account:upID>domains@isp.com</account:upID>
<account:upDate>1999-12-03T09:00:00.0Z</account:upDate>
</account:infData>
</domain:account>
<domain:ns
xmlns:ns="http://www.nominet.org.uk/epp/xml/nom-ns-1.0">
<ns:infData>
<ns:roid>NS12345</ns:roid>
<ns:name>ns1.example.co.uk</ns:name>
<ns:addr ip="v4">10.10.10.10</ns:addr>
<ns:clID>TEST</ns:clID>
<ns:crID>domains@isp.com</ns:crID>
<ns:crDate>1999-04-03T22:00:00.0Z</ns:crDate>
<ns:upID>domains@isp.com</ns:upID>
<ns:upDate>1999-12-03T09:00:00.0Z</ns:upDate>
</ns:infData>
<ns:infData>
<ns:roid>NS12346</ns:roid>
<ns:name>ns1.example.com</ns:name>
<ns:clID>TEST</ns:clID>
<ns:crID>domains@isp.com</ns:crID>
<ns:crDate>1999-04-03T22:00:00.0Z</ns:crDate>
<ns:upID>domains@isp.com</ns:upID>
<ns:upDate>1999-12-03T09:00:00.0Z</ns:upDate>
</ns:infData>
</domain:ns>
<domain:clID>TEST</domain:clID>
<domain:crID>TEST</domain:crID>
<domain:crDate>1999-04-03T22:00:00.0Z</domain:crDate>
<domain:upID>domains@isp.com</domain:upID>
<domain:upDate>1999-12-03T09:00:00.0Z</domain:upDate>
<domain:exDate>2007-12-03T09:00:00.0Z</domain:exDate>
</domain:infData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>54322-XYZ</svTRID>
</trID>
</response>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<command>
<info>
<account:info
xmlns:account="http://www.nominet.org.uk/epp/xml/nom-account-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-account-1.0
nom-account-1.0.xsd">
<account:roid>S1001</account:roid>
</account:info>
</info>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<account:infData
xmlns:account="http://www.nominet.org.uk/epp/xml/nom-account-1.0"
xmlns:contact="http://www.nominet.org.uk/epp/xml/nom-contact-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-account-1.0
nom-account-1.0.xsd">
<account:roid>S123456</account:roid>
<account:name>Mr R. Strant</account:name>
<account:trad-name>R. S. Industries</account:trad-name>
<account:type>STRA</account:type>
<account:co-no>NI123456</account:co-no>
<account:opt-out>N</account:opt-out>
<account:addr>
<account:street>2102 High Street</account:street>
<account:locality>Carfax</account:locality>
<account:city>Oxford</account:city>
<account:county>Oxfordshire</account:county>
<account:postcode>OX1 1DF</account:postcode>
<account:country>GB</account:country>
</account:addr>
<account:contact type="admin" order="1">
<contact:infData>
<contact:roid>C12345</contact:roid>
<contact:name>Mr R.Strant</contact:name>
<contact:phone>01865 123456</contact:phone>
<contact:fax>01865 123456</contact:fax>
<contact:email>r.strant@strant.co.uk</contact:email>
<contact:clID>TEST</contact:clID>
<contact:crID>domains@isp.com</contact:crID>
<contact:crDate>1999-04-03T22:00:00.0Z</contact:crDate>
<contact:upID>domains@isp.com</contact:upID>
<contact:upDate>1999-12-03T09:00:00.0Z</contact:upDate>
</contact:infData>
</account:contact>
<account:contact type="admin" order="2">
<contact:infData>
<contact:roid>C23456</contact:roid>
<contact:name>Ms S. Strant</contact:name>
<contact:phone>01865 123457</contact:phone>
<contact:fax>01865 123456</contact:fax>
<contact:email>s.strant@strant.co.uk</contact:email>
<contact:clID>TEST</contact:clID>
<contact:crID>domains@isp.com</contact:crID>
<contact:crDate>1999-04-03T22:00:00.0Z</contact:crDate>
<contact:upID>domains@isp.com</contact:upID>
<contact:upDate>1999-12-03T09:00:00.0Z</contact:upDate>
</contact:infData>
</account:contact>
<account:contact type="billing" order="1">
<contact:infData>
<contact:roid>C12347</contact:roid>
<contact:name>A. Ccountant</contact:name>
<contact:phone>01865 657893</contact:phone>
<contact:email>acc@billing.co.uk</contact:email>
<contact:clID>TEST</contact:clID>
<contact:crID>domains@isp.com</contact:crID>
<contact:crDate>1999-04-03T22:00:00.0Z</contact:crDate>
<contact:upID>domains@isp.com</contact:upID>
<contact:upDate>1999-12-03T09:00:00.0Z</contact:upDate>
</contact:infData>
</account:contact>
<account:clID>TEST</account:clID>
<account:crID>TEST</account:crID>
<account:crDate>1999-04-03T22:00:00.0Z</account:crDate>
<account:upID>domains@isp.com</account:upID>
<account:upDate>1999-12-03T09:00:00.0Z</account:upDate>
</account:infData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>54322-XYZ</svTRID>
</trID>
</response>
</epp>
You can find information on a contact object directly by using the <contact:info> command and specifying the ID of the contact to query.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<command>
<info>
<contact:info
xmlns:contact="http://www.nominet.org.uk/epp/xml/nom-contact-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-contact-1.0
nom-contact-1.0.xsd">
<contact:roid>C12345</contact:roid>
</contact:info>
</info>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<contact:infData
xmlns:contact="http://www.nominet.org.uk/epp/xml/nom-contact-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-contact-1.0
nom-contact-1.0.xsd">
<contact:roid>R12345</contact:roid>
<contact:name>Mr Contact</contact:name>
<contact:phone>01865 123456</contact:phone>
<contact:fax>01865 123456</contact:fax>
<contact:email>r.strant@strant.co.uk</contact:email>
<contact:clID>TEST</contact:clID>
<contact:crID>TEST</contact:crID>
<contact:crDate>1999-04-03T22:00:00.0Z</contact:crDate>
<contact:upID>TEST</contact:upID>
<contact:upDate>1999-12-03T09:00:00.0Z</contact:upDate>
</contact:infData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>54322-XYZ</svTRID>
</trID>
</response>
</epp>
You can query for information on a nameserver directly by specifying the nameserver ID.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<command>
<info>
<ns:info
xmlns:ns="http://www.nominet.org.uk/epp/xml/nom-ns-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-ns-1.0
nom-ns-1.0.xsd">
<ns:roid>NS12345</ns:roid>
</ns:info>
</info>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<ns:infData
xmlns:ns="http://www.nominet.org.uk/epp/xml/nom-ns-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-ns-1.0
nom-ns-1.0.xsd">
<ns:roid>NS12346</ns:roid>
<ns:name>ns1.example.co.uk</ns:name>
<ns:addr ip="v4">10.10.10.10</ns:addr>
<ns:clID>TEST</ns:clID>
<ns:crID>TEST</ns:crID>
<ns:crDate>1999-04-03T22:00:00.0Z</ns:crDate>
<ns:upID>TEST</ns:upID>
<ns:upDate>1999-12-03T09:00:00.0Z</ns:upDate>
</ns:infData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>54322-XYZ</svTRID>
</trID>
</response>
</epp>