0
   

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

 
 
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?????
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 0 • Views: 16,169 • Replies: 5
No top replies

 
husker
 
  1  
Reply Fri 23 May, 2003 01:58 pm
what are you using??
0 Replies
 
Craven de Kere
 
  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
 
st34hird
 
  1  
Reply Fri 23 May, 2003 02:16 pm
Thanks mate!!! It works!!!!!
0 Replies
 
Craven de Kere
 
  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.
Javier
 
  1  
Reply Fri 4 Jun, 2010 09:01 pm
@Craven de Kere,
Hi, I edited that file, but only put the IP?

and another questions, which one? NS1.*.com or NS2?

I put both IPs, one line for IP. and doesn´t works... at least not immediatly..

How many time need to spend waiting for could acess to domain parked??

Thanks in advance

[email protected]
0 Replies
 
 

Related Topics

Can I install Linux? - Question by Wilso
linux on desktop - Question by lilsweetangel
Helpful linux commands for server management - Discussion by Nick Ashley
Ubuntu, Java and Aptana Studio 3 - Question by Ken Dawson
linux - Question by stephen silver
SQUID CONF - Question by achix
Rest in peace, Dennis Richie! - Discussion by Thomas
 
  1. Forums
  2. » Adding DNS IP's to /etc/ips.remotedns
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 4.9 seconds on 12/21/2024 at 08:50:40