Portal Home > Knowledgebase > Articles Database > How can l add new dns entry via ssh
How can l add new dns entry via ssh
Posted by rcpkrc, 05-27-2012, 12:27 PM |
hello, how can l do it via ssh ?
First things first. The server. You must have access to "Edit DNS Zone" on your server WHM or Cpanel. This option is listed under DNS Functions. We'll assume you already have a domain on your server you want to test this with. If not, you'll need to create your new account as you normally would.
Click "Edit DNS Zone"
You should have a list of your domains. Select the domain you wish to use/edit.
Be sure not to edit any of these, but as noted!
Scroll down till you see "Add New Entries Below this Line"
You'll need to put an * in the first box, followed by adding your server IP address in place of "65.66.67.68" . Your IP address should be in one of the other entries in this screen where you can easily copy/paste it.
Here is a screen shot of what it looks like:
So it's only two entries here.
|
Posted by LnxtecH, 05-27-2012, 10:55 PM |
How can l add new dns entry via ssh?
#Edit /var/named/domain.com.db
#Add "* 14400 IN A IP"
#service named reload
|
Posted by rcpkrc, 05-29-2012, 12:02 PM |
thank u very much l am going to try now..
|
Add to Favourites Print this Article
Also Read