Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DNS resolv issue? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rivitir
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2005
Posts: 105

PostPosted: Wed Feb 22, 2006 7:12 pm    Post subject: DNS resolv issue? [SOLVED] Reply with quote

I've noticed that I'm having to type in the FQDN to find hostnames (ping, nslookup, etc.), how can I correct the order so it will search the domains in oder and so I don't have to type in the FQDN?

For example:

Code:

~ # nslookup server
Server:         37.20.13.3
Address:        37.20.13.3#53

** server can't find server: SERVFAIL

~ # nslookup server.domain.name.com
Server:         37.20.13.3
Address:        37.20.13.3#53

Name:   server.domain.name.com
Address: 37.20.13.32


Thanks


Last edited by rivitir on Wed Feb 22, 2006 7:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
kands
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2003
Posts: 138
Location: Vancouver Island, Canada

PostPosted: Wed Feb 22, 2006 7:14 pm    Post subject: Reply with quote

can you post your /etc/resolv.conf?
_________________
http://www.brokenspoke.ca
Have you broken your spoke today?
Back to top
View user's profile Send private message
rivitir
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2005
Posts: 105

PostPosted: Wed Feb 22, 2006 7:32 pm    Post subject: Reply with quote

It's somthing like this:

Code:

#Generated by dhcpcd for interface eth0
domain servers.domain.com clients.domain.com printers.domain.com domain.com
nameserver 37.20.13.3


I added the clients.domain.com, printers.domain.com, and domain.com to the domain line. I've done this before in my slackware system and it worked so I figured it would work in Gentoo.[/code][/quote]
Back to top
View user's profile Send private message
kands
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2003
Posts: 138
Location: Vancouver Island, Canada

PostPosted: Wed Feb 22, 2006 7:38 pm    Post subject: Reply with quote

Are you trying to specify that your gentoo machine is part of multiple domains (printers, servers, clients) or do you want to search those subdomains under domain.com to resolve ip's/names?

You might want to try something like this:

domain domain.com
search servers.domain.com clients.domain.com printers.domain.com domain.com
nameserver 37.20.13.3
_________________
http://www.brokenspoke.ca
Have you broken your spoke today?
Back to top
View user's profile Send private message
rivitir
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2005
Posts: 105

PostPosted: Wed Feb 22, 2006 7:42 pm    Post subject: Reply with quote

Thats exactly what I needed!!! Thanks!

I wanted to search the subdomain order under domain.com.

Thanks for all your help.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Feb 24, 2006 12:00 pm    Post subject: Reply with quote

rivitir wrote:
It's somthing like this:

Code:

#Generated by dhcpcd for interface eth0
domain servers.domain.com clients.domain.com printers.domain.com domain.com
nameserver 37.20.13.3


I added the clients.domain.com, printers.domain.com, and domain.com to the domain line. I've done this before in my slackware system and it worked so I figured it would work in Gentoo.[/code]


That will be fixed in dhcpcd-2.0.2 - hopefully out next week.
dhclient and udhcpc will be fixed in a similar way in baselayout-1.12.0_pre17
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum