Looks like your examples below are not working in my version of FRED.
Is there any documentation on fred-admin functions and parameters ?
Petur
________________________________________
Fra: fred-users-bounces(a)lists.nic.cz [fred-users-bounces(a)lists.nic.cz] På vegne
af Jaromír Talíř [jaromir.talir(a)nic.cz]
Sendt: 28. november 2008 17:02
Til: fred-users(a)lists.nic.cz
Emne: Re: switch fred-client commands with sql-queries ?
The best way is to use fred-admin command line administration interface.
You can check what it can do by using online help (/usr/sbin/fred-admin
--help). You need this functions:
fred-admin --nsset_show_opts
fred-admin --domain_show_opts
fred-admin --contact_show_opts
for example to list all domains with registrant=TEST call:
fred-admin --domain_list --registrant_handle=TEST
output is parsable xml.
Regards
Jaromir
Petur Kirke píše v Út 25. 11. 2008 v 18:32 +0000:
I am developing a client interface against FRED. So
far everythings fine.
Now i need to make it possible for customers to search for Contacts and other things, and
it seems like, if i use the fred-client command, things go to slow.
For example when i need to search for Names of Contacts, i first need to do
"list_contacts", and then go through every CONTACT, and check for the name.
If i use an sql-query i can search directly on the NAME.
So, the way to do this, is by SQL query directly against the PostgreSQL database ? It
will not interfere with anything else ? What will you recommend ?
regards
Petur
This email and its attachments may be confidential and are intended solely for the use of
the individual to whom it is addressed.
If you are not the intended recipient or authorized to receive information for the
intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. If the
email contains proposals, they are valid for 30 days following the date of email
transmission. Finally, the recipient should check this email and any attachment for the
presence of viruses. The company accepts no liability for any damage caused by any virus
transmitted by email.
_______________________________________________
Fred-users mailing list
Fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users
This email and its attachments may be confidential and are intended solely for the use of
the individual to whom it is addressed.
If you are not the intended recipient or authorized to receive information for the
intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. If the
email contains proposals, they are valid for 30 days following the date of email
transmission. Finally, the recipient should check this email and any attachment for the
presence of viruses. The company accepts no liability for any damage caused by any virus
transmitted by email.