From 929a73bb4a2b6b3ddad9a557162ae21f55122aa0 Mon Sep 17 00:00:00 2001 From: Kevin Menard Date: Sat, 8 Oct 2011 20:20:08 -0400 Subject: [PATCH] Updated docs to use newer arg, rather than the old deprecated one. --- docs/dns/index.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/dns/index.markdown b/docs/dns/index.markdown index f136682f5..3c821ed90 100644 --- a/docs/dns/index.markdown +++ b/docs/dns/index.markdown @@ -41,7 +41,7 @@ Now that you have a zone you will need to update your registrar to let them know With your new zone in hand you can add records as needed. First and foremost you will probably want the 'www' version of your site to point to whatever your ip might be: record = @zone.records.create( - :ip => '1.2.3.4', + :value => '1.2.3.4', :name => 'example.com', :type => 'A' ) @@ -49,7 +49,7 @@ With your new zone in hand you can add records as needed. First and foremost yo Adding other records is similarly easy, for instance if we want 'www.example.com' to go to the same place, we can use a cname record: record = @zone.records.create( - :ip => 'example.com', + :value => 'example.com', :name => 'www', :type => 'CNAME' ) @@ -57,7 +57,7 @@ Adding other records is similarly easy, for instance if we want 'www.example.com Or, similarly you might want to have your blog elsewhere: record = @zone.records.create( - :ip => '4.3.2.1', + :value => '4.3.2.1', :name => 'blog.example.com', :type => 'A' )