2. Basic configuration - Special DNS servers
:::[ DNS_N DNS_x ]:::

DNS_N DNS_x

From version 1.4 no DNS server must be explicitely named in configuration. Program dnscache - as replacement for named - will find the DNS server(s) in internet automatically (using internet root servers).

Usually you would therefore enter: DNS_N='0'.

But there are specific situations in which it makes sense to explicitely enter one or several DNS server(s). This is the case when using the FLI4L router in your intranet without internet connection or when using the FLI4L router in an intranet with its own DNS server and an additional connection to the internet.

Imagine the following:

Circuit 1: Dial into the internet
Circuit 2: Dial into a company (intra)network 192.168.1.0 (firma.de)

Then you would set ISDN_CIRC_1_ROUTE to '0.0.0.0' and ISDN_CIRC_2_ROUTE to '192.168.1.0' (see package ISDN). When accessing computer with IP address 192.168.1.x FLI4L then will use circuit 2, otherwise circuit 1. If the company network is not a public network (or defined as public), it will probably use an own DNS server. Let´s assume the IP address of this DNS server was 192.168.1.12 and the doain name was "firma.de".

In this example you would enter:

DNS_N='1'
DNS_1='firma.de 192.168.1.12'
    

With this setting the company´s DNS server will be used for requests from xx.firma.de, otherwise DNS servers in the internet will be used.

Another example:

Circuit 1: Internet
Circuit 2: Company network 192.168.1.0 *with* internet connection

This gives the opportunity to use two ways to the internet. If you want to separate private and company matters, you may do it the following way:

CIRC_1_ROUTE='0.0.0.0'
CIRC_2_ROUTE='0.0.0.0'
    

This means: Both circuits will be defined as default route and will be switched by imond client (as you want). In this case you should DNS_N and DNS_1 enter as described above.

[ top ]