Assigning a DNS server when using static ip addressing

Article ID: 89140262

Details


 

Topic or Information

Assigning a DNS server  and/or DNS Domain when using static ip addressing 

Applies To

QLn Printers using V68.19.6 and later

Details

The QLn series printers adds the ability to assign a DNS server  and/or dns domain when using static ip addressing as of version V68.19.6.

Examples of the commands used to configure the dns servers and dns domain for both wireless and wired are illustrated below:

Wireless

! U1 setvar "ip.dhcp.enable" "off"
! U1 setvar "wlan.ip.protocol" "permanent"
! U1 setvar "wlan.ip.addr" "10.3.50.211"
! U1 setvar "wlan.ip.netmask" "255.255.255.0"
! U1 setvar "wlan.ip.gateway" "10.3.50.1"
! U1 setvar "wlan.ip.dns.servers" "10.3.50.61 10.3.50.62"
! U1 setvar "wlan.ip.dns.domain" "zebra.com"
! U1 do "device.reset" ""

Wired:

! U1 setvar "ip.dhcp.enable" "off"
! U1 setvar "internal_wired.ip.protocol" "permanent"
! U1 setvar "internal_wired.ip.addr" "10.3.50.211"
! U1 setvar "internal_wired.ip.netmask" "255.255.255.0"
! U1 setvar "internal_wired.ip.gateway" "10.3.50.1"
! U1 setvar "internal_wired.ip.dns.servers" "10.3.50.61 10.3.50.62"
! U1 setvar "internal_wired.ip.dns.domain" "zebra.com"
! U1 do "device.reset" ""
 

Additional Information

The ZPL Manual contains the Set/GetDo command details Read More>>

Source

MK