SV: VS: delete one Domain only from nameserver

Petur Kirke pk at simprentis.com
Fri May 15 01:23:34 CEST 2009


before you said that

   --object_regular_procedure

is only a shortcut for these commands:

   shortcut for 2x update_object_states,
   notify_state changes,
   poll_create_statechanges,
   object_delete_candidates,
   poll_create_low_credit,
   notify_letters_create

is it possible only to run 2 of these commands ?
and if yes, what is the command for running them ? for example, if i want to only run object_delete_candidates, what do i write on the prompt ?

Peter





________________________________________
Fra: fred-users-bounces at lists.nic.cz [fred-users-bounces at lists.nic.cz] På vegne af Jaromír Talíř [jaromir.talir at nic.cz]
Sendt: 10. maj 2009 17:33
Til: fred-users at lists.nic.cz
Emne: Re: VS: delete one Domain only from nameserver

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 at 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 at 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.


More information about the fred-users mailing list