VS: delete one Domain only from nameserver
jaromir.talir at nic.cz
Sun May 10 18:33:47 CEST 2009
Petur Kirke píše v So 09. 05. 2009 v 19:36 +0100:
> please help me with this one
> 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.
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3870 bytes
Desc: not available
Url : http://lists.nic.cz/pipermail/fred-users/attachments/20090510/ba4cffea/attachment.bin
More information about the fred-users