Question & Answer
Question
53 and 953 seems like default ports for $LSF_SERVERDIR /named which is ServiceDirector of LSF EGO. Customer would like to change the port value 53 to other value such as 30053. 53 and 953 are not allowed under customer's security policy.
Answer
Here are the steps.
1. # cd ${EGO_ESRVDIR}/esd/conf/named/conf
2. # vi named.conf
3. Change DNS port: 53 ---> <new port>
Add parameters in ‘options’ session:
listen-on port <new port> { any; }; // IPV4 LISTEN port
listen-on-v6 port <new port> { any; }; // IPV6 LISTEN port
E.g: the new port is 9053
options {
listen-on port 9053 { any; }; // IPV4 LISTEN port
listen-on-v6 port 9053 { any; }; // IPV6 LISTEN port
4. Change RNDC port: 953 ---> <new port>
Update ‘controls’ session, add port <new port> in the record.
E.g: the new port is 9953
controls {
inet 127.0.0.1 port 9953 allow { localhost; } keys { rndckey; };
};
5. Restart ServiceDirector
egosh service stop ServiceDirector
egosh service start ServiceDirector
6. Check the updated results:
# netstat -anp |grep named
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
isg3T1024328