LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-05-2005, 07:16 AM   #1
alexklant
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Rep: Reputation: 0
get nameserver from ISP


Hi there!

I wonder if it is possible to
resolv dns from a ISP.

The thing is: When i try to find the Nameserver for my ISP (telia.se)
i just find guides how to set it up for winblows, with automatic resolv of dns.

How should i do to get this work i slackware?
I managed to get a connect with ppp-on.

Thanks

Regards, Alexander
 
Old 06-05-2005, 08:22 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
In my /etc/resolv.conf my nameserver is my modem address and it resolves with my isp's nameservers.I use a dsl modem.
/etc/resolv.conf
Code:
domain no-ip.info
nameserver 192.168.1.254
search launchmodem
I use a static ip,good luck
 
Old 06-05-2005, 09:47 AM   #3
alexklant
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Original Poster
Rep: Reputation: 0
usepeerdns?

Does my ppp connection has a ip-number?

Found an article about using the option usepeerdns
inside a pppd script. I tried with /etc/ppp/options.demand,
with no luck.

Regards, Alexander
 
Old 06-05-2005, 01:18 PM   #4
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 767

Rep: Reputation: 62
I'm not sure on this because when I used dial-up, I used kppp in kde which was easy to set up. I think you are on the right track with usepeerdns. How are you calling pppd? if it is via the command line, try using usepeerdns as an option, or put it in /etc/ppp/options. Worth a try anyway...

tobyl
 
Old 06-05-2005, 02:24 PM   #5
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
If you've still got a win-based connection, you can get the DNS information from the computer.

I'm guessing it's dialup, but that's ok. If you've got 9X on your computer (incl. ME), click Start > Run > winipcfg. That'll give you the IP configurations, including the DNS.

In Win2k/XP, right click on the connect icon and go to status. Under Support > Details... you'll see the DNS server.


If you don't have that ability, then I'd suggest you call your ISP's tech. support and ask for the DNS numbers. If they insist that you use dynamic, tell them you're in a situation where that isn't possible, and ask for the numbers. If they still insist, tell 'em you're using MacOS 7.1, which didn't support dynamic DNS resolution. If they still insist, demand to speak to a supervisor and ask for their employee number.... Likely, you won't need to explain anything. It's a whole lot less hassle for them to just give that information when somebody asks for it.

Failing that, you can also run your own DNS server. The out of the box configuration for BIND will work, and you just need to enable it with /etc/rc.d/rc.bind start. Then edit your /etc/resolv.conf and put:
Code:
  nameserver 127.0.0.1
 
Old 06-05-2005, 04:45 PM   #6
friendly_guy
Member
 
Registered: Oct 2003
Location: England
Distribution: Lubuntu, Bodhi, Puppy,
Posts: 85

Rep: Reputation: 15
I take it that you can dial in but not resolve web pages getting a dns error? When I had this happen I got it to work by running named (just type that) from a terminal.

If that works put it in your /etc/rc.d/rc.local file to start at boot.

Hope this helps
 
Old 06-05-2005, 05:11 PM   #7
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
So you know, friendly_guy, named is bind. If you make /etc/rc.d/rc.bind executable, it'll start at bootup and you don't need to edit rc.local.
 
Old 06-06-2005, 02:59 PM   #8
friendly_guy
Member
 
Registered: Oct 2003
Location: England
Distribution: Lubuntu, Bodhi, Puppy,
Posts: 85

Rep: Reputation: 15
I didn't know that one - thanks. Very useful if you want to ditch KDE for a low end machine. kppp always works but kde takes up a lot of room.
 
Old 06-06-2005, 05:37 PM   #9
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
ns.telia.se == 193.44.164.202
ns1.telia.se == 193.44.164.203
dns6.telia.com == 194.22.194.19
 
Old 06-08-2005, 02:30 PM   #10
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Code:
shilo@shilo2:~$ whois telia.se

# Copyright (c) 2005 NIC-SE. All rights reserved.
# Any use of this material to target advertising or
# similar activities is forbidden and will be prosecuted.
# If any of the information below is transferred to a third
# party, it must be done in its entirety. This server must
# not be used as a backend for a search engine. For more
# information see <http://www.nic.se/>


# Result of search for registered domain names under
# the SE top domain database follow. The data in
# the database is in the ISO 8859-1 character set
# and the result is printed with eight bits.

*domainname.name:                telia.se
*domainname.status:              REGISTRERAT

*domainname.dns.data:
telia.se.                  NS  ns.telia.se.
telia.se.                  NS  dns6.telia.com.
telia.se.                  NS  ns1.telia.se.
ns.telia.se.               A   193.44.164.202
ns1.telia.se.              A   193.44.164.203

# More information is available from the Web Search,
# <http://www.nic.se/domaner/domansok.shtml>, but the number
# of queries to the Web Search is limited. Misusers will
# be blocked.
 
  


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
which is my nameserver. bruse Linux - Networking 3 07-16-2005 01:45 AM
Changing ISP, apt-get can not see new ISP proxy linx win Debian 0 01-05-2005 03:41 AM
Nameserver setup tpjets62 Fedora 3 04-27-2004 02:43 AM
secondary nameserver dilberim82 Linux - Networking 2 10-24-2001 06:47 AM
Nameserver Probs gene_gEnie Linux - Networking 7 10-04-2001 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:01 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