public void useBackupDnsServer(int index) {
        this.selectedDnsServer = backupDnsServers.get(index);

        try {
            this.simpleResolver = new SimpleResolver(this.selectedDnsServer);
        } catch (UnknownHostException ignore) {
        }
        this.validatingResolver = new ValidatingResolver(this.simpleResolver);
    }
public void useBackupDnsServer ( int index ) { this . selectedDnsServer = backupDnsServers . get ( index ) ; try { this . simpleResolver = new SimpleResolver ( this . selectedDnsServer ) ; } catch ( UnknownHostException ignore ) { } this . validatingResolver = new ValidatingResolver ( this . simpleResolver ) ; }
Use Backup DNS Server identified by index
@param index of backup DNS server