LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   get nameserver from ISP (https://www.linuxquestions.org/questions/slackware-14/get-nameserver-from-isp-330528/)

alexklant 06-05-2005 07:16 AM

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

comprookie2000 06-05-2005 08:22 AM

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

alexklant 06-05-2005 09:47 AM

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

tobyl 06-05-2005 01:18 PM

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

killerbob 06-05-2005 02:24 PM

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

friendly_guy 06-05-2005 04:45 PM

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

killerbob 06-05-2005 05:11 PM

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.

friendly_guy 06-06-2005 02:59 PM

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.

kodon 06-06-2005 05:37 PM

ns.telia.se == 193.44.164.202
ns1.telia.se == 193.44.164.203
dns6.telia.com == 194.22.194.19

shilo 06-08-2005 02:30 PM

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.



All times are GMT -5. The time now is 09:50 PM.