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 |
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 |
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 |
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 |
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 |
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 |
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.
|
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.
|
ns.telia.se == 193.44.164.202
ns1.telia.se == 193.44.164.203 dns6.telia.com == 194.22.194.19 |
Code:
shilo@shilo2:~$ whois telia.se |
All times are GMT -5. The time now is 09:50 PM. |