We use cookies to improve your experience. Please read our cookies policy here.

×

Disclosing contact information using EPP

The .UK WHOIS no longer displays the registrant’s contact name or address by default. With the registrant’s permission, you can disclose this information using EPP or WDM.

This page lists examples EPP contact:create commands – some containing <contact:disclose> elements –  and the resultant WHOIS output.

Create contact without disclosing information (default situation)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <create>
      <contact:create
       xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
        <contact:id>CONTACT-TC01</contact:id>
        <contact:postalInfo type="int">
          <contact:name>John Doe</contact:name>
          <contact:org>Example Inc.</contact:org>
          <contact:addr>
            <contact:street>123 Example Dr.</contact:street>
            <contact:city>Oxford</contact:city>
            <contact:sp>Oxon</contact:sp>
            <contact:pc>OX1 1HL</contact:pc>
            <contact:cc>GB</contact:cc>
          </contact:addr>
        </contact:postalInfo>
        <contact:voice x="1234">+1.7035555555</contact:voice>
        <contact:email>[email protected]</contact:email>
        <contact:authInfo>
          <contact:pw>2fooBAR</contact:pw>
        </contact:authInfo>
      </contact:create>
    </create>
    <clTRID>CONTACT-TC01</clTRID>
  </command>
</epp>

WHOIS output for domain with this contact

    Domain name:
        example.uk

    Data validation:
        Nominet was able to match the registrant's name and address against a 
        3rd party data source on 01-Jan-2018

    Registrar:
        Example GmbH [Tag = EXAMPLE]
        URL: http://www.example.net

    Relevant dates:
        Registered on: 01-Jan-2018
        Expiry date:  01-Jan-2019
        Last updated:  05-May-2018

    Registration status:
        Registered until expiry date.

    Name servers:
        ns3.example.com
        ns4.example.com

    WHOIS lookup made at 14:11:12 26-Jun-2018

Consent to display name (org) but not address

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <create>
      <contact:create
       xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
        <contact:id>CONTACT-TC01</contact:id>
        <contact:postalInfo type="loc">
          <contact:name>John Doe</contact:name>
          <contact:org>Example Inc.</contact:org>
          <contact:addr>
            <contact:street>123 Example Dr.</contact:street>
            <contact:city>Oxford</contact:city>
            <contact:sp>Oxon</contact:sp>
            <contact:pc>OX1 1HL</contact:pc>
            <contact:cc>GB</contact:cc>
          </contact:addr>
        </contact:postalInfo>
        <contact:voice x="1234">+1.7035555555</contact:voice>
        <contact:email>[email protected]</contact:email>
        <contact:authInfo>
          <contact:pw>2fooBAR</contact:pw>
        </contact:authInfo>
        <contact:disclose flag="1">
          <contact:org type="loc"/>
        </contact:disclose>
      </contact:create>
    </create>
    <clTRID>CONTACT-TC01</clTRID>
  </command>
</epp>

For .UK, Nominet does not store separate internationalised or localised postal data – localised information provided in updates is preferred.

WHOIS output for domain with this contact

    Domain name:
        example.uk

    Registrant:
        Example Inc.

    Data validation:
        Nominet was able to match the registrant's name and address against a 
        3rd party data source on 01-Jan-2018

    Registrar:
        Example GmbH [Tag = EXAMPLE]
        URL: http://www.example.net

    Relevant dates:
        Registered on: 01-Jan-2018
        Expiry date:  01-Jan-2019
        Last updated:  05-May-2018

    Registration status:
        Registered until expiry date.

    Name servers:
        ns3.example.com
        ns4.example.com

    WHOIS lookup made at 14:11:12 26-Jun-2018

Consent to display address but not name

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <create>
      <contact:create
       xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
        <contact:id>CONTACT-TC01</contact:id>
        <contact:postalInfo type="loc">
          <contact:name>John Doe</contact:name>
          <contact:org>Example Inc.</contact:org>
          <contact:addr>
            <contact:street>123 Example Dr.</contact:street>
            <contact:city>Oxford</contact:city>
            <contact:sp>Oxon</contact:sp>
            <contact:pc>OX1 1HL</contact:pc>
            <contact:cc>GB</contact:cc>
          </contact:addr>
        </contact:postalInfo>
        <contact:voice x="1234">+1.7035555555</contact:voice>
        <contact:email>[email protected]</contact:email>
        <contact:authInfo>
          <contact:pw>2fooBAR</contact:pw>
        </contact:authInfo>
        <contact:disclose flag="1">
          <contact:addr type="loc"/>
        </contact:disclose>
      </contact:create>
    </create>
    <clTRID>CONTACT-TC01</clTRID>
  </command>
</epp>

WHOIS output for domain with this contact

    Domain name:
        example.uk

    Registrant's address:
        123 Example Dr.
        Oxford
        Oxon
        OX1 1HL
        United Kingdom

    Data validation:
        Nominet was able to match the registrant's name and address against a 
        3rd party data source on 01-Jan-2018

    Registrar:
        Example GmbH [Tag = EXAMPLE]
        URL: http://www.example.net

    Relevant dates:
        Registered on: 01-Jan-2018
        Expiry date:  01-Jan-2019
        Last updated:  05-May-2018

    Registration status:
        Registered until expiry date.

    Name servers:
        ns3.example.com
        ns4.example.com

    WHOIS lookup made at 14:11:12 26-Jun-2018

Consent to display name (org) and address

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <create>
      <contact:create
       xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
        <contact:id>CONTACT-TC01</contact:id>
        <contact:postalInfo type="loc">
          <contact:name>John Doe</contact:name>
          <contact:org>Example Inc.</contact:org>
          <contact:addr>
            <contact:street>123 Example Dr.</contact:street>
            <contact:city>Oxford</contact:city>
            <contact:sp>Oxon</contact:sp>
            <contact:pc>OX1 1HL</contact:pc>
            <contact:cc>GB</contact:cc>
          </contact:addr>
        </contact:postalInfo>
        <contact:voice x="1234">+1.7035555555</contact:voice>
        <contact:email>[email protected]</contact:email>
        <contact:authInfo>
          <contact:pw>2fooBAR</contact:pw>
        </contact:authInfo>
        <contact:disclose flag="1">
          <contact:org type="loc"/>
          <contact:addr type="loc"/>
        </contact:disclose>
      </contact:create>
    </create>
    <clTRID>CONTACT-TC01</clTRID>
  </command>
</epp>

WHOIS output for domain with this contact

Domain name:
        example.uk

    Registrant:
        Example Inc.

    Registrant's address:
        123 Example Dr.
        Oxford
        Oxon
        OX1 1HL
        United Kingdom

    Data validation:
        Nominet was able to match the registrant's name and address against a 
        3rd party data source on 01-Jan-2018

    Registrar:
        Example GmbH [Tag = EXAMPLE]
        URL: http://www.example.net

    Relevant dates:
        Registered on: 01-Jan-2018
        Expiry date:  01-Jan-2019
        Last updated:  05-May-2018

    Registration status:
        Registered until expiry date.

    Name servers:
        ns3.example.com
        ns4.example.com

    WHOIS lookup made at 14:11:12 26-Jun-2018

Consent to display name and address, plus Nominet extension used to disclose trading name, company number and type

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <create>
      <contact:create
       xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
        <contact:id>CONTACT-TC01</contact:id>
        <contact:postalInfo type="loc">
          <contact:name>John Doe</contact:name>
          <contact:org>Example Inc.</contact:org>
          <contact:addr>
            <contact:street>123 Example Dr.</contact:street>
            <contact:city>Oxford</contact:city>
            <contact:sp>Oxon</contact:sp>
            <contact:pc>OX1 1HL</contact:pc>
            <contact:cc>GB</contact:cc>
          </contact:addr>
        </contact:postalInfo>
        <contact:voice x="1234">+1.7035555555</contact:voice>
        <contact:email>[email protected]e.com</contact:email>
        <contact:authInfo>
          <contact:pw>2fooBAR</contact:pw>
        </contact:authInfo>
        <contact:disclose flag="1">
          <contact:org type="loc"/>
          <contact:addr type="loc"/>
        </contact:disclose>
      </contact:create>
    </create>
    <extension>
      <contact-nom-ext:create
         xmlns:contact-nom-    ext="http://www.nominet.org.uk/epp/xml/contact-nom-ext-1.0">
        <contact-nom-ext:trad-name>Example</contact-nom-ext:trad-name>
        <contact-nom-ext:type>LTD</contact-nom-ext:type>
        <contact-nom-ext:co-no>12456</contact-nom-ext:co-no>
      </contact-nom-ext:create>
    </extension>
    <clTRID>CONTACT-TC01</clTRID>
  </command>
</epp>

WHOIS output for domain with this contact

Domain name:
        example.uk

    Registrant:
        Example Inc.

    Trading as:
        Example

    Registrant type:
        UK Limited Company, (Company number: 12456)

    Registrant's address:
        23 Example Dr.
        Oxford
        Oxon
        OX1 1HL
        United Kingdom

    Data validation:
        Nominet was able to match the registrant's name and address against a 
        3rd party data source on 01-Jan-2018

    Registrar:
        Example GmbH [Tag = EXAMPLE]
        URL: http://www.example.net

    Relevant dates:
        Registered on: 01-Jan-2018
        Expiry date:  01-Jan-2019
        Last updated:  05-May-2018

    Registration status:
        Registered until expiry date.

    Name servers:
        ns3.example.com
        ns4.example.com

    WHOIS lookup made at 14:11:12 26-Jun-2018

No <contact:org> in EPP, <contact:name> used instead and disclosed

Where an organisation field is not provided, the contact name is used as the registrant.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <create>
      <contact:create
       xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
        <contact:id>CONTACT-TC01</contact:id>
        <contact:postalInfo type="loc">
          <contact:name>John Doe</contact:name>
          <contact:addr>
            <contact:street>123 Example Dr.</contact:street>
            <contact:city>Oxford</contact:city>
            <contact:sp>Oxon</contact:sp>
            <contact:pc>OX1 1HL</contact:pc>
            <contact:cc>GB</contact:cc>
          </contact:addr>
        </contact:postalInfo>
        <contact:voice x="1234">+1.7035555555</contact:voice>
        <contact:email>[email protected]</contact:email>
        <contact:authInfo>
          <contact:pw>2fooBAR</contact:pw>
        </contact:authInfo>
        <contact:disclose flag="1">
          <contact:org type="loc"/>
        </contact:disclose>
      </contact:create>
    </create>
    <clTRID>CONTACT-TC01</clTRID>
  </command>
</epp>

WHOIS output for domain with this contact

Domain name:
        example.uk

    Registrant:
        John Doe

    Data validation:
        Nominet was able to match the registrant's name and address against a 
        3rd party data source on 01-Jan-2018

    Registrar:
        Example GmbH [Tag = EXAMPLE]
        URL: http://www.example.net

    Relevant dates:
        Registered on: 01-Jan-2018
        Expiry date:  01-Jan-2019
        Last updated:  05-May-2018

    Registration status:
        Registered until expiry date.

    Name servers:
        ns3.example.com
        ns4.example.com

    WHOIS lookup made at 14:11:12 26-Jun-2018

Minerva House, Edmund Halley Road, Oxford Science Park, OX4 4DQ, United Kingdom