networking in static setup with gentoo 64bit

i like to know if there is others that have problem to use 127.0.0.1 as dns server on there linode hosts ?

with dhcp it will use linode public dns, but that will not work for me since i query non free dns servers that linode does not pay for, thats why i like to use localhost with is free

as it is now this is a show stopper for me, and i think about why none other have seen this as a problem that should be solved so clients can select linode public dns, and localhost own dns server, networking admins i work with says its the way to go with non forwarding dns querys, forwarding breaks dnssec, and there is possible more that does not work that i do not know of yet

with gentoo i have /etc/conf.d/net

modules="iproute2"

config_eth0="176.58.121.172/24 2a01:7e00::f03c:91ff:fe69:4ef7/128"

routes_eth0="default via 176.58.121.1 default via 2a01:7e00::"

dns_servers="127.0.0.1"

dns_search="mydomain.example.org members.linode.com"

dns_domain="mydomain.example.org"

after rebooting ping and ping6 works, linode admins can ping my host ips just fine

but not all daemond start :(

eg dovecot started after boot, but i could not restart it without fails, and after boot i was not able to start apache, gentoo belived network is down and would like to start it, with fails since it is started, hmm

if i turn over to dhcp then all works except it does not use my own bind :(

how do i resolve it ?

6 Replies

This will stop DHCP from overwriting /etc/resolv.conf:

dhcp_eth0="nodns"

Your routes_eth0 line is incorrect, and should be this (if you choose to stay with static networing):

routes_eth0="default via 176.58.121.1
default via fe80::1"

Because routes require multi-word specifications, they have to separated by newlines, or oldnet can't figure out what you mean. In addition, the default gateway for IPv6 in all facilities is fe80::1.

Linode's resolvers do full recursion, validate DNSSEC information as they perform lookups, and do not return A/AAAA records that shouldn't exist, unlike, for example, OpenDNS, which sends you to their ad-ridden search page.

-Doug

i think i got it working now, will test it more closely, it seems that i have ram usage problems even top says i have not used whole ram ?

i will take this with linode, the gentoo side is now working, but my daemons is not running like i wanted

i had forgot the dhcp_eth0="nodns" fokused more on dhcpcd client :)

Running your own resolving DNS server on a Linode is fine, I've done it for years. But it's a bit pointless to waste your resources on something that Linode will run for you for free. Plus it puts some extra load on the root DNS servers. Not much, but some.

What are these 'non free dns servers' you mention?

@sednet:

What are these 'non free dns servers' you mention?

http://www.uribl.com/faq.shtml#q5

if 127.0.0.1 is down i have another problem

127.0.0.1 is localhost, if that's "down" then you've managed to completely mess up your entire networking stack…

nope then i properly just running ipv6 only :)

::1 is independic of 127.0.0.1

na no more fun for today

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