Petur Kirke píše v So 09. 05. 2009 v 19:36 +0100:
  please help me with this one
 petur
 ________________________________________
 Fra: Petur Kirke
 Sendt: 30. april 2009 22:05
 Til: fred-users(a)lists.nic.cz
 Emne: delete one Domain only from nameserver
 How do i delete one Domain ONLY from DNS ?
 I cannot find any command for this in fred-client. Is there a
 (python?) command for this ?
 I need to do this, because when one Domain expires, we first want to
 delete it only from DNS, and the later delete the domain completely
 from the system. 
There is a status list associated with each domain. If domain has status
outZone it's not generated to zone file. If you periodically call
'fred-admin --object_regular_procedure' from cron every day status is
updated automatically. Domain will get outzone flag 30 days after
expiration. 45 day after expiration, domain will be delete. Both
parameters can be updated in enum_parameter (id=4 and id=6).
You can also set these statuses manually, but this procedure is a little
bit complicated. First you have to create status change request using
'fred-admin --object_new_state_request=STATE_ID --object_id=DOMAIN_ID'.
If you want to put it into zone, STATE_ID=6. If you want to put it out
of the zone, STATE_ID=5. Then you have to go to sql console and call
'SELECT update_object_states(DOMAIN_ID);' This request has validity
(default 7 days) specified in table object_state_requests. After
validity expire, status is cleared. Using this method you can override
default behaviour specified in first paragraph.
Regards,
Jaromir
 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