how to transfer name to address without updating values

Post Reply
georgem
Posts: 82
Joined: Wed Aug 21, 2013 1:46 pm
os: windows

how to transfer name to address without updating values

Post by georgem »

I would like to send a name to some address, but the values (ip, dns) don't need to be changed. Only the owner (address)

I understand that the command is:

namecoind name_update d/<name> <value> <address>

So what do I have to type into <value> to not have it be changed at all?
Maybe:

namecoind name_update d/<name> "" <address>

?

Thanks everybody.

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: how to transfer name to address without updating values

Post by biolizard89 »

georgem wrote:I would like to send a name to some address, but the values (ip, dns) don't need to be changed. Only the owner (address)

I understand that the command is:

namecoind name_update d/<name> <value> <address>

So what do I have to type into <value> to not have it be changed at all?
Maybe:

namecoind name_update d/<name> "" <address>

?

Thanks everybody.
Why not just type in the old value again? As an aside, I think namecoin-qt makes this easy.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

georgem
Posts: 82
Joined: Wed Aug 21, 2013 1:46 pm
os: windows

Re: how to transfer name to address without updating values

Post by georgem »

Well ofcourse this is the obvious answer, I should have mentioned that that's NOT what I was looking for.

I am more looking for something like a "null" value.

what happens when I tell namecoind that value is "" ? Does it erase the value?
I assume so.

What is the general way when you want to skip a parameter (but want to use the following parameter) in linux shell?

georgem
Posts: 82
Joined: Wed Aug 21, 2013 1:46 pm
os: windows

Re: how to transfer name to address without updating values

Post by georgem »

biolizard89 wrote:Why not just type in the old value again? As an aside, I think namecoin-qt makes this easy.
It's for a bitdomain registration site I am working on.

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: how to transfer name to address without updating values

Post by biolizard89 »

I don't think there's a way to skip parameters in a Linux shell. You can give it a blank parameter (""), but that will clear the value from the name, not leave it intact. Is there a reason you can't use namecoind's API to get the existing value before you update it?
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

georgem
Posts: 82
Joined: Wed Aug 21, 2013 1:46 pm
os: windows

Re: how to transfer name to address without updating values

Post by georgem »

No there is no particular reason.

I was just hoping that an extra easy way exists to make the transfer.

Thanks anyway.

Post Reply