You can use the
/usr/share/zentyal/redisvi tool in order to check (and to change) the values stored in the redis database (it's like visudo):
For instance, I created the host "valinor" with the ip "192.168.2.100". In redisvi I can see this:
...
dns/conf/DomainTable/keys/dmn1/hostnames/keys/hstn2/ipAddresses/keys/hst3: {
"ip" : "192.168.2.100"
}
dns/conf/DomainTable/keys/dmn1/hostnames/keys/hstn2/ipAddresses/order: [
"hst3"
]
dns/conf/DomainTable/keys/dmn1/hostnames/keys/hstn2: {
"hostname" : "valinor"
}
dns/conf/DomainTable/keys/dmn1/hostnames/order: [
"hstn1",
"hstn2"
]
...
dns/ro/DomainTable/keys/dmn1/hostnames/keys/hstn2/ipAddresses/keys/hst3: {
"ip" : "192.168.2.100"
}
dns/ro/DomainTable/keys/dmn1/hostnames/keys/hstn2/ipAddresses/order: [
"hst3"
]
dns/ro/DomainTable/keys/dmn1/hostnames/keys/hstn2: {
"hostname" : "valinor"
}
dns/ro/DomainTable/keys/dmn1/hostnames/order: [
"hstn1",
"hstn2"
]
You can edit the database with the usual
vi commands. Bear in mind that, if you want to modify the data, you have to study the database structure in order to maintain the database consistently. Read carefully the redis keys.
If you need more help, please, paste here the needed part of the redis database and I'll give you some more detailed feedback.
Cheers!