You are on page 1of 2

TECHNICAL COMMUNICATION No. TC1179 Ed.

01

Business integrated Communication Solution Nb of pages : 2 Date : 02 June 2009

URGENT

NOT URGENT TEMPORARY PERMANENT

SUBJECT: ADDING THE ADDITIONAL ENTRY IN LOCAL DNS SERVER

To add BiCS DNS entry, please follow this procedure.


1 Log on BiCS host under root account (password required).
2 Perform following commands:
• #service named status (# = prompt : don't enter)
→ Server is up and running.
• In order to add entry, 2 files must be manually edited:
#cd /var/named/chroot/var/named
#ls -l
• Identify your domain name zone defined during installation.
Example: if ts.fr then the file is ts.fr.zone
• Perform a backup of this file before modifications.
• To display file content:
#more ts.fr.zone

$TTL 86400
@ IN SOA bics2 root (
43 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D) ; minimum
IN NS bics2

bics2 IN A 10.33.51.1
oxe2 IN A 10.33.51.5
node000001 IN A 10.33.51.5
omnivista IN A 10.33.51.6
uc2 IN A 10.33.51.7

• Use text editor like vi or Emacs Text Editoy from Gnome Desktop to edit this file and add entry
under root.

#vi <Mydomain_name>.zone

• Add entry at bottom of the file.


• Repeat same operation for reverse zone file.
• IPadress.in-addr.arpa.zone file name in same directory.
• Perform backup file for IPadress.in-addr.arpa.zone.

1
TECHNICAL COMMUNICATION No. TC1179 Ed. 01

Business integrated Communication Solution Nb of pages : 2 Date : 02 June 2009

URGENT

NOT URGENT TEMPORARY PERMANENT

SUBJECT: ADDING THE ADDITIONAL ENTRY IN LOCAL DNS SERVER

• To display file content:


[root@bics2 named]#more 10.33.51.in-addr.arpa.zone
$TTL 86400
@ IN SOA bics2 root (
2001062501 ; serial
21600 ; refresh after 6 hours
3600 ; retry after 1 hour
604800 ; expire after 1 week
86400 ) ; minimum TTL of 1 day

IN NS bics2

1 PTR bics2.ts.fr.
5 PTR oxe2.ts.fr.
6 PTR omnivista.ts.fr.
7 PTR uc2.ts.fr.

• Use text editor like vi or Emacs Text Editoy from Gnome Desktop to edit this file and add entry
under root.

#vi IPadress.in-addr.arpa.zone
• Add entry at bottom of the file.
3 Reload DNS zone files:
#service named reload

You might also like