2
   

Adding DNS IP's to /etc/ips.remotedns

 
 
Post: # 217,298
View Profile st34hird
 
Reply Fri 23 May, 2003 01:52 pm
When I try to add a domain name I keep getting an error message saying that I need to add the nameserver IPs to /etc/ips.remotedns How do I do that?????
 
Post: # 217,308
View Profile husker
 
  1  
Reply Fri 23 May, 2003 01:58 pm
what are you using??
0 Replies
 
  2  
Reply Fri 23 May, 2003 02:07 pm
Log onto your server through Telnet or SSH.

Use the su - command to get root access (you will need root access to modify ips.remotedns). Once prompted for the password give the root password.


Then type emacs and press enter.

Emacs is a visual editor as opposed to a line-by-line editor. It generally ships with Unix, Linux etc (I'm assuming you are running a *nix server but it's helpful to include such details).

emacs doesn't edit the files directly but loads it into a RAM buffer so you will need to load up the remote dns file.

To load the file into emac's buffer type Control-X-Control-F and in the subsequent prompt give it the name of the file ( /etc/ips.remotedns ). Press enter and it should load into the RAM buffer and display in the editor.

Type in the IP address (if you don't know your nameserver IP you need to get it from your nameserver, you don't have it on your box because your system is prompting you for a remote DNS server).

Once you have typed in the IP you need to save the file. You can save the file by using Control-X-Control-S.

It's a lot simpler than it sounds, all you really need to do is type in the IP, nothing else. It's just a bit daunting to do this through Telnet.

Here are some more emacs commands:

Control-X-Control-C - exits emacs and returns to the Unix shell
Control-H - get help (If you type the question mark (?), emacs will present a list of help topics you can choose)
Control-G - aborts a command
Control-D deletes forward one letter.
Control-K deletes from the point to the end of the line.
ESCAPE-D deletes forward one word.
ESCAPE-delete deletes backward one word.
Control-_. - undo a change


Control-F moves the cursor forward to the next character.
Control-B moves the cursor back to the previous character.
Control-N moves the cursor to the next line.
Control-P moves the cursor to the previous line.

Control-A moves the cursor to the start of the current line.
Control-E moves the cursor to the end of the current line.
ESCAPE-F moves the cursor forward to the next word.
ESCAPE-B moves the cursor back to the previous word.
ESCAPE-< moves the cursor to the start of the buffer.
ESCAPE-> moves the cursor to the end of the buffer.
0 Replies
 
Post: # 217,329
View Profile st34hird
 
  1  
Reply Fri 23 May, 2003 02:16 pm
Thanks mate!!! It works!!!!!
0 Replies
 
  1  
Reply Fri 23 May, 2003 02:18 pm
No problem, it's a piece of cake as long as you know that emacs is the Unix text editor.
0 Replies
 
 

Related Topics

I'm the developer - Discussion by Nick Ashley
how to earn money in internet - Discussion by rizwanaraj
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
mod rewrite for a different theme? - Discussion by etali
 
  1. able2know
  2. » Adding DNS IP's to /etc/ips.remotedns
Copyright © 2009 Horizontal Verticals :: Page generated in 0.36 seconds on 11/24/2009 at 01:44:49 Top End