New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added feature to rename a host #2

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@da-
Contributor

da- commented Aug 25, 2012

conf zone <whatever> modify host will now accept rename to change the host name.

Note that renaming preserves all other data, such as CNAME aliases.

An extended example:

user@ib.domain.name > show host foobaz.domain.name
                       aliases : other.domain.name
             configure_for_dns : true
                     ipv4addrs : 10.11.12.13
                          name : foobaz.domain.name
                  network_view : default
                   rrset_order : cyclic
                         views : External
                          zone : domain.name

user@ib.domain.name > show host quux.domain.name
  Error : API returned : The specified object was not found (1003)

user@ib.domain.name > conf zone "" modify host foobaz.domain.name rename quux.domain.name

user@ib.domain.name > show host quux.domain.name
                       aliases : other.domain.name
             configure_for_dns : true
                     ipv4addrs : 10.11.12.13
                          name : quux.domain.name
                  network_view : default
                   rrset_order : cyclic
                         views : External
                          zone : domain.name
user@ib.domain.name > 

@slchorne slchorne closed this Aug 26, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment