LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-15-2014, 09:26 PM   #1
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Rep: Reputation: 25
How to use router name server


I just put Slackware 14.1 on a system which is part of a LAN that connects to the internet through a router. The name server info is programmed into the router and it works fine for all systems except this new one. Networking works fine if I provide an IP address but URLs are not resolved properly. Can someone tell me how to configure my system to fix this?
 
Old 03-15-2014, 09:47 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,465

Rep: Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798
If your network is using static addressing, then put a line like this in /etc/resolv.conf
Code:
nameserver <IP address of your router>
If your network is using dynamic addressing, then the DHCP client should automatically update /etc/resolv.conf provided that /etc/rc.d/rc.inet1.conf is properly setup.

For further information, this may help. http://docs.slackware.com/slackware:...e_your_network
 
1 members found this post helpful.
Old 03-15-2014, 11:07 PM   #3
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Original Poster
Rep: Reputation: 25
Excellent! Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect server to router via ethernet; router is not projecting signal. oldpilsbury Linux - Newbie 5 04-01-2013 02:56 PM
[SOLVED] Network configuration: server - router vs router-server alistair_sunde Linux - Networking 2 08-14-2010 10:19 AM
Building my first home server - atom based router/file server build need advice mothergoose729 Linux - Networking 5 03-23-2010 04:19 AM
RH8 server is NAT router, but getting a new router. WorldBuilder Linux - Networking 1 06-08-2006 06:54 PM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration