HP-UX OSRA for Web Services 2.5 Blueprint and Configuration Guide
# named -c /usr/local/domain/named.conf
c. Configure the /etc/rc.config.d/namesvrs file so that the named server starts
automatically when the system is started. Set the variable NAMED to 1, and the
appropriate value for NAMED_ARGS as follows:
NAMED=1
NAMED_ARGS="-c /usr/local/domain/named.conf"
Configuring the DNS Cache TTL Value
To address DNS clients caching the virtual server name, change the time-to-live (TTL) parameter
value for the virtual server name in the DNS configuration file.
Changing the TTL parameter does not guarantee that the web client will honor this number.
Older versions of Microsoft Internet Explorer and Mozilla Firefox cache DNS server names,
ignoring the DNS TTL value. Internet Explorer version 6.0 or later uses the TTL value. Later
versions of Firefox are reported to cache entries for one minute by default.
When you configure the DNS TTL value, you can change the value for all servers, or change the
value for the virtual server name. The following example changes the DNS TTL value for the
virtual server name. The value is changed to 60 seconds by updating the zone configuration file
(/usr/local/domain/db.test).
$TTL 60
@ IN SOA hptem270.test.nameX.example.com. root.hptem270.test.nameX.example.com.
(
2 ; Serial
10800 ; Refresh every 3 hours
3600 ; Retry every hour
604800 ; Expire after a week
60 ) ; Minimum ttl of 1 day
IN NS hptem270.test.nameX.example.com.
localhost IN A 127.0.0.1
hptem270 IN A 10.10.118.67
specj IN A 10.10.118.230
specj IN A 10.10.118.231
specj IN A 10.10.118.232
hpdhl208 IN A 10.10.118.208
hpdhl209 IN A 10.10.118.209
hpdhl211 IN A 10.10.118.211
hpdhl212 IN A 10.10.118.212
hpdhl214 IN A 10.10.118.214
hpdhl230 IN A 10.10.118.230
hpdhl231 IN A 10.10.118.231
hpdhl232 IN A 10.10.118.232
hptem270-2 IN A 10.10.119.67
hpdhl230-2 IN A 10.10.119.230
hpdhl231-2 IN A 10.10.119.231
hpdhl232-2 IN A 10.10.119.232
hpdhl208 IN MX 10 hpdhl208.test.nameX.example.com.
hpdhl209 IN MX 10 hpdhl209.test.nameX.example.com.
hpdhl211 IN MX 10 hpdhl211.test.nameX.example.com.
hpdhl212 IN MX 10 hpdhl212.test.nameX.example.com.
hpdhl214 IN MX 10 hpdhl214.test.nameX.example.com.
hpdhl230 IN MX 10 hpdhl230.test.nameX.example.com.
hpdhl230-2 IN MX 10 hpdhl230-2.test.nameX.example.com.
hpdhl231 IN MX 10 hpdhl231.test.nameX.example.com.
hpdhl231-2 IN MX 10 hpdhl231-2.test.nameX.example.com.
hpdhl232 IN MX 10 hpdhl232.test.nameX.example.com.
hpdhl232-2 IN MX 10 hpdhl232-2.test.nameX.example.com.
hptem270 IN MX 10 hptem270.test.nameX.example.com.
hptem270-2 IN MX 10 hptem270-2.test.nameX.example.com.
specj IN MX 10 specj.test.nameX.example.com.
32 Load Balancing and Cluster Configuration