1.6. Testing the installation¶
Once the installation is finished, you may want to check that it was successful.
There are several levels of testing the installation:
a smoke test that will check that all FRED’s interfaces are correctly configured and responding,
a zone test that will check that a registrar can access the zone, make registrations and that the registered domain is generated into the zone file and available via the public interface.
1.6.1. Check of running processes¶
The following daemons should start automatically after the FRED was installed:
fred-accifd.servicefred-adifd.servicefred-backend-logger.servicefred-backend-public-request.servicefred-backend-registry.servicefred-logger-corba.servicefred-pifd.servicefred-rifd.servicefred-zone-services.service
These daemons should be running on APP node only!
You can check the running FRED processes with the command ps -ef | grep "fred-".
The list of running containers is available via command sudo docker ps.
1.6.2. Smoke test of an uninitialized system¶
To test the plain installation, you can try these command:
eppicshould be able to connect to your registry and sendhellocommand:
REG-DEMO@localhost > hello
access: all
expiry: null
ext_uris:
- http://www.nic.cz/xml/epp/enumval-1.2
- http://www.nic.cz/xml/epp/extra-addr-1.0
- http://www.nic.cz/xml/epp/auction-1.0
langs:
- en
- cs
obj_uris:
- http://www.nic.cz/xml/epp/contact-1.6
- http://www.nic.cz/xml/epp/domain-1.4
- http://www.nic.cz/xml/epp/nsset-1.2
- http://www.nic.cz/xml/epp/keyset-1.3
statements:
- purpose:
- admin
- prov
recipient:
- public
retention: stated
sv_date: '2026-02-17T13:05:48Z'
sv_id: EPP server (DSDng)
versions:
- '1.0'
command
whois -h localhost whatevershould return:
%ERROR:101: no entries found
%
% No entries found.
1.6.3. Test of registrations in a zone¶
You can use the following set of commands to test registrations on your system after the initialization with the config-zone script.
After you initialize the system with your registrars and zones, you can test object creation, whois, rdap, zone-generator etc..
Adjust the parameters in the tests according to how you have configured the zone. In this example, we are using the zone “.demo”.
# Connect to the server via EPP and login with the specified username and password
eppic --username=REG-DEMO --password=password --hostname=localhost --port=700 --cert-file=/usr/share/fred-eppic/ssl/test-cert.pem --key-file=/usr/share/fred-eppic/ssl/test-key.pem --verify=false
# Connect + run command that will create a contact with given credentials
eppic --session=REG-DEMO -- create-contact --id=TEST-CONTACT --postal-info.name=Name --postal-info.addr.street-1=Street --postal-info.addr.city=City --postal-info.addr.pc=12345 --postal-info.addr.cc=CZ --email=example@example.com
# Connect + run command that will create a set of nameservers with the contact assigned as a technical contact
eppic --session=REG-DEMO -- create-nsset --id=TEST-NSSET --nss-1.name=ns1.test-domain.demo --nss-1.addrs-1=111.222.111.222 --nss-2.name=ns2.test-domain.demo --nss-2.addrs-2=222.111.222.111 --tech-1=TEST-CONTACT
# Create a domain with the contact as the domain owner and with the NS set
eppic --session=REG-DEMO -- create-domain --name=test-domain.demo --registrant=TEST-CONTACT --nsset=TEST-NSSET
After creating objects, you should be able to test following commands:
# whois
whois -h localhost test-domain.demo
# rdap - replace URL with your RDAP domain
curl -k -L https://localhost:8446/domain/test-domain.demo | json_pp
# zone generator
sudo fred-zone-generator --config /etc/fred/fred-zone-generator.conf && cat db.demo