Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Add more information about domain (date) #119

Closed
aegiap opened this issue Mar 30, 2015 · 2 comments
Closed

Add more information about domain (date) #119

aegiap opened this issue Mar 30, 2015 · 2 comments

Comments

@aegiap
Copy link
Contributor

aegiap commented Mar 30, 2015

It would be nice if the domain information method will show the associated date : creation, renew, changed. Something like:

gandi domain info choucroute.net
owner       : AA1-GANDI
admin       : BB2-GANDI
bill        : CC3-GANDI
tech        : DD4-GANDI
fqdn        : choucroute.net
nameservers : ['a.dns.gandi.net', 'b.dns.gandi.net', 'c.dns.gandi.net']
services    : ['gandidns']
zone_id     : 424242
tags        : aliment
expires    : 2016-04-30 21:59:59
created    : 2006-04-07 14:57:34
changed   : 2015-03-30 22:07:01

Context:

$ gandi --version
Gandi CLI 0.12
$ cat /etc/debian_version 
8.0
@grigouze
Copy link

Yes it will be nice if we see also the timezone for it.

sayoun added a commit that referenced this issue Jul 17, 2015
Update domain info

Add domain creation, update and expiration date to `domain info` output command.

As dates are not UTC in gandiprod, I didn't display any timezone info, the gandi website says CET in tooltips, dunno if I should do it too.

Also includes a fix about display of list for nameservers and services for easier shell parsing.

This should close github issue #119

```
$ gandi domain info youplamaestro.fr
owner       : DF2975-GANDI
admin       : DF2975-GANDI
bill        : DF2975-GANDI
tech        : DF2975-GANDI
fqdn        : youplamaestro.fr
nameservers : a.dns.gandi-ote.net, b.dns.gandi-ote.net, c.dns.gandi-ote.net
services    : gandidns
zone_id     : 681838
tags        :
created     : 2015-06-08 00:00:00
expires     : 2016-06-08 00:00:00 (in 340 days)
updated     : 2015-06-08 00:00:00

```

See merge request !16
@sayoun
Copy link
Contributor

sayoun commented Jul 17, 2015

Done in release 0.15

@sayoun sayoun closed this as completed Jul 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants