HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Command Referen - Page 115
dns source-interface
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 115 highlights
Parameters ip-address: Specifies an IPv4 address of a DNS server. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. To specify an IPv4 address on the public network, do not use this option. Usage guidelines The device sends DNS query request to the DNS servers in the order their IPv4 addresses are specified. You can specify DNS server IPv4 addresses for the public network and a maximum of 1024 VPNs, and specify a maximum of six IPv4 addresses for the public network or each VPN. Examples # Specify the IPv4 address of a DNS server as 172.16.1.1. system-view [Sysname] dns server 172.16.1.1 Related commands display dns server dns source-interface Use dns source-interface to specify the source interface for DNS packets. Use undo dns source-interface to restore the default. Syntax dns source-interface interface-type interface-number [ vpn-instance vpn-instance-name ] undo dns source-interface interface-type interface-number [ vpn-instance vpn-instance-name ] Default No source interface for DNS packets is specified. The device uses the primary IP address of the output interface of the matching route as the source IP address for a DNS request. Views System view Predefined user roles network-admin Parameters interface-type interface-number: Specifies an interface by its type and number. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. To specify a source interface on the public network, do not use this option. Usage guidelines This configuration applies to both IPv4 and IPv6. • In IPv4 DNS, the device uses the primary IPv4 address of the specified source interface as the source IP address of DNS query. • In IPv6 DNS, the device follows the procedure defined in RFC 3484 to select an IPv6 address of the source interface as the source IP address for DNS query. If you use the command multiple times, the most recent configuration takes effect. 107