Révision | cca798941fbcd16bac1dc361a57646e1b2aae63b (tree) |
---|---|
l'heure | 2022-12-15 18:04:44 |
Auteur | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
A conf file to be able to choose my own dns servers.
@@ -0,0 +1,60 @@ | ||
1 | +# Configuration file for /sbin/dhclient. | |
2 | +# | |
3 | +# This is a sample configuration file for dhclient. See dhclient.conf's | |
4 | +# man page for more information about the syntax of this file | |
5 | +# and a more comprehensive list of the parameters understood by | |
6 | +# dhclient. | |
7 | +# | |
8 | +# Normally, if the DHCP server provides reasonable information and does | |
9 | +# not leave anything out (like the domain name, for example), then | |
10 | +# few changes must be made to this file, if any. | |
11 | +# | |
12 | + | |
13 | +option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; | |
14 | + | |
15 | +prepend domain-name-servers 103.86.96.100; | |
16 | + | |
17 | +send host-name = gethostname(); | |
18 | +request subnet-mask, broadcast-address, time-offset, routers, | |
19 | + domain-name, host-name, | |
20 | + dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers, | |
21 | + netbios-name-servers, netbios-scope, interface-mtu, | |
22 | + rfc3442-classless-static-routes, ntp-servers; | |
23 | + | |
24 | +#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; | |
25 | +#send dhcp-lease-time 3600; | |
26 | +#supersede domain-name "fugue.com home.vix.com"; | |
27 | +#prepend domain-name-servers 127.0.0.1; | |
28 | + | |
29 | +prepend domain-name-servers 103.86.96.100; | |
30 | + | |
31 | + | |
32 | +#require subnet-mask, domain-name-servers; | |
33 | +#timeout 60; | |
34 | +#retry 60; | |
35 | +#reboot 10; | |
36 | +#select-timeout 5; | |
37 | +#initial-interval 2; | |
38 | +#script "/sbin/dhclient-script"; | |
39 | +#media "-link0 -link1 -link2", "link0 link1"; | |
40 | +#reject 192.33.137.209; | |
41 | + | |
42 | +#alias { | |
43 | +# interface "eth0"; | |
44 | +# fixed-address 192.5.5.213; | |
45 | +# option subnet-mask 255.255.255.255; | |
46 | +#} | |
47 | + | |
48 | +#lease { | |
49 | +# interface "eth0"; | |
50 | +# fixed-address 192.33.137.200; | |
51 | +# medium "link0 link1"; | |
52 | +# option host-name "andare.swiftmedia.com"; | |
53 | +# option subnet-mask 255.255.255.0; | |
54 | +# option broadcast-address 192.33.137.255; | |
55 | +# option routers 192.33.137.250; | |
56 | +# option domain-name-servers 127.0.0.1; | |
57 | +# renew 2 2000/1/12 00:00:01; | |
58 | +# rebind 2 2000/1/12 00:00:01; | |
59 | +# expire 2 2000/1/12 00:00:01; | |
60 | +#} |