fritzbox dns server not working

3 risposte [Ultimo contenuto]
jonny123
Offline
Iscritto: 01/13/2014

hi everybody,

i just installed trisquel 6 and noticed that the dns of my fritzbox is not working.

example:

in debian i was able to resolve the following ssh command for server rasp1 on 192.168.178.62:

ssh user@rasp1

but trisquel does not resolve anything until i edit the hosts file to include that server.
does anybody have a clue why this might be the case?

thanks in advance!

jonny123
Offline
Iscritto: 01/13/2014

anybody?

i'm still quite new to linux so maybe i'm having a newbie problem. any hint would be highly appreciated.

adding '.fritz.box' after the servername works:

ssh name at domain

my resolv.conf:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search fritz.box
nameserver 8.8.8.8
nameserver 213.186.33.99
search trisquel.info
domain trisquel.info

FreedomOfTheOpenCode
Offline
Iscritto: 12/13/2013

I don't know what the solution is, but I think the problem is that the local domain fritz.box hasn't been defined anywhere. Some distros ask for this when you install them, so maybe they put it in a configuration file somewhere and Trisquel doesn't.

FreedomOfTheOpenCode
Offline
Iscritto: 12/13/2013

According to Linux Bible the command "search fritz.box" in your resolve.conf file should achieve exactly what you want. Perhaps the second "search" entry in the file is replacing the first (you can have two domain names in one search command, separated by spaces).