full dns support [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

full dns support [Solved]

Postby maulbongo » Wed Oct 19, 2011 14:00

Hi there,

This for those who want to get the whole nameresolving comfort running in Sabayon.
And for this I also created a wiki article:

http://wiki.sabayon.org/index.php?title=HOWTO:_full_dns_support

1. edit the
Code: Select all
/etc/nssswitch.conf
and change the line
Code: Select all
hosts:       files mdns4_minimal dns mdns4
to
Code: Select all
hosts:       files mdns4_minimal [NOTFOUND=return] dns mdns4   wins


now it is possible to ping hostnames but to give all programs the effort of using dns names (for example realvnc) you need to

2. open a terminal and become su

3. run these two commands

Code: Select all
rc-update add nscd default


Code: Select all
/etc/init.d/nscd start



and enjoy this usability
Last edited by maulbongo on Thu Oct 20, 2011 8:44, edited 2 times in total.
greetings

maulbongo

Image
User avatar
maulbongo
Simple Hen
 
Posts: 57
Joined: Wed Oct 19, 2011 13:19

Re: full dns support

Postby Fitzcarraldo » Wed Oct 19, 2011 14:26

Hello maulbongo, and welcome to the SL Forums. Nice to see you are posting some helpful information, but it would be better if you used the SL Wiki for these 'how to' threads and then just posted a link to your SL Wiki article in the SL Forums. That way your 'how to' articles will not get lost in the mists of time as new forum threads get added and your threads move down.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: full dns support [Solved]

Postby maulbongo » Wed Oct 19, 2011 14:29

Hi Fitzcarraldo,

Thank you for these informations, I'll do it straight away.
greetings

maulbongo

Image
User avatar
maulbongo
Simple Hen
 
Posts: 57
Joined: Wed Oct 19, 2011 13:19


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 0 guests