overriding DHCP data on debian lenny

Hi all,

I'm trying to tell my linode to use my own personal DHCP resolver rather than the ones given to me via dhclient.

In /etc/dhcp3/dhclient.conf I set this:

request subnet-mask, broadcast-address, routers,
    domain-name, domain-search, host-name,
    netbios-name-servers, netbios-scope, interface-mtu,
    rfc3442-classless-static-routes;
supersede domain-name-servers "127.0.0.1";

So I'm not explicitly requesting domain-name-servers and I'm superseding it anyway. According to the two relevant man pages this should be enough. But it's not working!

I also want to override the timezone eventually, which should be the same procedure as above.

Any tips?

1 Reply

@checkers:

supersede domain-name-servers "127.0.0.1";


The best problems are the simplest ones. Removed the " marks and everything works as expected.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct