Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to set DNS server, Where do you set the DNS server< Next Oldest | Next Newest >
smohrman Offline





Group: Members
Posts: 12
Joined: July 2005
Posted: Nov. 17 2005,17:10 QUOTE

Hi,

Sorry for such a simple question...I just booted an Amax laptop with DSL and I LOVE it.  DSL booted the laptop that wouldn't boot under windows...

Anyway, I'm on a LAN and need to tell DSL the IP of my intranet DNS server.  I can't seem to find the option in the control panel, and it's probably a command I'm not familiar with...

Any help out there?

Smohrman-

"Ever imagine a world without any hypothetical situations?"


--------------
Have you ever imagined a world with no hypothetical situations?
Back to top
Profile PM 
smohrman Offline





Group: Members
Posts: 12
Joined: July 2005
Posted: Nov. 17 2005,18:32 QUOTE

OK, nevermind...

I wanted to view a webpage hosted on my LAN, and DSL wouldn't pull it up.  I could browse the web and ping internet sites, so after all it appears DSL did in fact pull down the correct DNS info at boot.  I still could not resolve the local hostname though to pull up the page, which info is on the same local DNS server.  Putting in the host's IP and port did work though...DUH!

Smohrman :-D


--------------
Have you ever imagined a world with no hypothetical situations?
Back to top
Profile PM 
NotTheMama Offline





Group: Members
Posts: 42
Joined: April 2005
Posted: Nov. 18 2005,07:53 QUOTE

Hi, the dns server(s) can be added to /etc/resolv.conf (no e at the end of resolv).
Other things can also be entered in this file:
Like domain and search(to search multiple domains using short hostnames).
To enter multiple dns servers. Just add another line.
It will however always use the 1st entry. Only when this one isn't available it will use a second. It wil not use the second one if the first one cannot resolve it.

HTH.,

Remco
Back to top
Profile PM 
smohrman Offline





Group: Members
Posts: 12
Joined: July 2005
Posted: Nov. 18 2005,18:47 QUOTE

Hi,

Thanks!  I soon realized that since I could browse the web and ping web addresses that DSL must have recieved DNS parameters during boot.  It still puzzles me why it can't resolve LAN hostnames but it must have my DNS server loaded....the workaround using the IP is just fine.

Thanks again.


--------------
Have you ever imagined a world with no hypothetical situations?
Back to top
Profile PM 
NotTheMama Offline





Group: Members
Posts: 42
Joined: April 2005
Posted: Nov. 19 2005,11:06 QUOTE

If your machines have fixed ips, you can enter them in /etc/hosts. Them they can be resolved.
If you are behind a router. You could try to set its ip in /etc/resolv.conf. It might be able to resolve local machines and forward other requests to its known dns servers...
Back to top
Profile PM 
4 replies since Nov. 17 2005,17:10 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: How to set DNS server

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code