Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[ScreenOS] How to change the admin-preference value of the DNS host in the SSG device

0

0

Article ID: KB27312 KB Last Updated: 05 Aug 2013Version: 1.0
Summary:
This document explains the procedure for changing the admin-preference value of the DNS host in the SSG device.
Symptoms:
A maximum of three static DNS hosts can be configured on the device. The user must set an admin preference value in order for the system to specify how much preference each DNS host is given.
Cause:

Solution:

A maximum of three static DNS hosts can be configured on the device. When both static and dynamic DNS hosts are configured, the dynamic DNS IP address will take the preference.

The default admin preference value for static is 100. The higher the value, the higher the preference.

The default admin preference value can be modified by CLI only. The value ranges from (0-255). The device stores learned addresses in the DNS server list. Then it selects the best two addresses from this list, and designates them as the primary and secondary DNS server addresses. The admin-preference number setting specifies how much preference the device gives.


To set the admin-preference value, use the following command:

ssg520-> set dns host dns1 1.1.1.1 admin-preference 100

For dynamically learned IP address, use the following command:

ssg520-> set pppoe name 1.1.1.1 name admin-preference 100

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search