FRED EPP Client

Jaromir Talir jaromir.talir at nic.cz
Fri Aug 19 16:22:52 CEST 2016


Hi Michael,

the best way to find out xml content is to run fred-client with
verbose=3 parameter. For info about nsset it is as follows.

Jaromir

REG-FRED_A at localhost> verbose 3
Verbose mode has been set to 3
REG-FRED_A at localhost> info_nsset NSSET-1
Return code:              1000
Reason:                   Command completed successfully

NSSET ID:                 NSSET-1
Repository object ID:     N0000000002-CZ
Created by:               REG-FRED_A
Designated registrar:     REG-FRED_A
Created on:               2016-08-18T15:28:22+02:00
Password for transfer:    passw
Status:                   linked - Has relation to other records in the
registry
Technical contact:        KONTAKT
Name servers:             a.ns.nic.cz, (194.0.12.1)
                          b.ns.nic.cz, (194.0.13.1)
Report level:             10

COMMAND: nsset:info
<?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/200
1/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-
1.0 epp-1.0.xsd"><command><info><nsset:info
xmlns:nsset="http://www.nic.cz/xml/epp/nsset-1.2"
xsi:schemaLocation="http://www.nic.cz/xml/epp/nsset-1.2 nsset-
1.2.xsd"><nsset:id>NSSET-1</nsset:id>
</nsset:info>
</info>
<clTRID>twyl004#16-08-19at16:21:16</clTRID>
</command>
</epp>

ANSWER:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.or
g/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><nsset:infData xmlns:nsset="http://www.nic.cz/xml/epp/nsset-1.
2" xsi:schemaLocation="http://www.nic.cz/xml/epp/nsset-1.2 nsset-
1.2.1.xsd"><nsset:id>NSSET-1</nsset:id>
<nsset:roid>N0000000002-CZ</nsset:roid>
<nsset:status s="linked">Has relation to other records in the
registry</nsset:status>
<nsset:clID>REG-FRED_A</nsset:clID>
<nsset:crID>REG-FRED_A</nsset:crID>
<nsset:crDate>2016-08-18T15:28:22+02:00</nsset:crDate>
<nsset:authInfo>passw</nsset:authInfo>
<nsset:ns><nsset:name>a.ns.nic.cz</nsset:name>
<nsset:addr>194.0.12.1</nsset:addr>
</nsset:ns>
<nsset:ns><nsset:name>b.ns.nic.cz</nsset:name>
<nsset:addr>194.0.13.1</nsset:addr>
</nsset:ns>
<nsset:tech>KONTAKT</nsset:tech>
<nsset:reportlevel>10</nsset:reportlevel>
</nsset:infData>
</resData>
<trID><clTRID>twyl004#16-08-19at16:21:16</clTRID>
<svTRID>ReqID-0000000158</svTRID>
</trID>
</response>
</epp>

On Fri, 2016-08-19 at 17:11 +0300, michael wrote:
> Hi,
> I am developing a PHP fred client and am able to get a domain details
> as
> follows:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <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.nic.cz/xml/epp/domain-1.4"
> xsi:schemaLocation="http://www.nic.cz/xml/epp/domain-1.4
> domain-
> 1.4.1.xsd"><domain:name>XXXX</domain:name><domain:roid>D0000073101-
> CZ</domain:roid><domain:status
> s="ok">Objekt is without
> restrictions</domain:status><domain:registrant>CHEKI-MW-
> REG</domain:registrant><domain:admin>CHEKI-MW-
> BILLING</domain:admin><domain:admin>CHEKI-MW-
> ADMIN</domain:admin><domain:nsset>CHEKI-MW-
> NS</domain:nsset><domain:clID>mw_system_reg</domain:clID><domain:crID
> >mw_system_reg</domain:crID><domain:crDate>2015-01-
> 05T17:00:58+02:00</domain:crDate><domain:exDate>2015-12-
> 05</domain:exDate></domain:infData></resData><trID><clTRID>15c8abbebf
> 7a746a773714973ff4e9f3</clTRID><svTRID>ReqID-
> 0001851046</svTRID></trID></response></epp>
> 
> What's the xml command for extracting nameservers from the nsset?
> 
> Thank you.
> 
> Regards,
> Mike.
> _______________________________________________
> fred-users mailing list
> fred-users at lists.nic.cz
> https://lists.nic.cz/cgi-bin/mailman/listinfo/fred-users
-- 
Jaromir Talir
Technicky partner / Technical Fellow
-------------------------------------------
CZ.NIC, z.s.p.o.  --    .cz domain registry
Milesovska 5, 130 00 Praha 3, Czech Republic
mailto:jaromir.talir at nic.cz  http://nic.cz/
sip:jaromir.talir at nic.cz tel:+420.222745107
mob:+420.739632712       fax:+420.222745112
-------------------------------------------




More information about the fred-users mailing list