This article explains how to copy files to and from your Name Server using pscp.
You need a program to access your Name Server. The best application, I think, is PuTTY. PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator. In particular, PSCP (the PuTTY SCP client, i.e. command-line secure file copy) is a useful utility for copying your files to and from your server.
1. Create a folder on your local PC named c:\Putty. Download the PuTTY files and save them in c:\PuTTY.
2. Click Start, Run, type cmd, click OK. At the command prompt type cd \PuTTY and key enter.
Copy named.conf.local to your PC
At the command prompt type the following command to copy named.conf.local from your Name Server to your local pc (replace the username, nameserver and path with your login and name server)
pscp user@nameserver.com:/etc/bind/named.conf.local c:\nameserver\bind\named.conf.local
enter the password for the user when prompted.
That's it, you should now have a copy of named.conf.local on your PCs hard disk. Edit the file, add your zones and copy the file back up to your Name Server:
Copy named.conf.local to your Server
At the command prompt type the following command to copy named.conf.local from your PC to your local Name Server (replace the username, nameserver and path with your login and name server)
pscp c:\nameserver\bind\named.conf.local user@nameserver.com:/etc/bind/named.conf.local
enter the password for the user when prompted.
That's it, you should now have the edited version of named.conf.local on your Name Server.