LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-07-2005, 06:36 AM   #16
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244

Quote:
The idea is great, and seems to work, but is there any way to use my provider's DNS as "fallback" if LQ's IP(or any other website's IP I might add) should change? I know this is extremly unlikely, but you never know.
The order is set in /etc/host.conf, so with a default value of :
order hosts, bind

The domain name query begin with /etc/hosts, then named (/etc/resolv.conf) so if a domain
name could not be resolved with the entries in /etc/hosts, it will search it through the
nameserver(s) listed in /etc/resolv.conf
 
Old 01-07-2005, 06:39 AM   #17
BBB
Member
 
Registered: Aug 2004
Location: sweden
Distribution: Slackware 10.2 and Win2k
Posts: 127

Rep: Reputation: 15
Yay it worked! Thx again SlackerLX .
BTW how did you know that IMPS/2 was the correct one to use?

Last edited by BBB; 01-07-2005 at 06:44 AM.
 
Old 01-07-2005, 06:45 AM   #18
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
BBB!
No Problem! Always happy to provide assistance

Now I would also recommend as egag geniously pointed to add this line to your
etc/hosts
"64.179.4.149 linuxquestions.org"
Simply amazing!

Last edited by SlackerLX; 01-07-2005 at 08:18 AM.
 
Old 01-07-2005, 06:55 AM   #19
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
EGAG!
Have you managed to desipher this from yesterday?
http://www.tldp.org/HOWTO/DNS-HOWTO.html

I know, I know, shame on me
But people are waiting!
Remember, "The Hook" movie? Monolog of Captain Hook about "broken promises"
 
Old 01-07-2005, 08:14 AM   #20
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Original Poster
Rep: Reputation: 53
well...i'm glad that the bloody mouse is working

i've got the nameserver running, but i cannot say at this point all is ok.
here's what i did ( following that howto... )

- edited "/etc/named.conf " : just pasted from the howto ;commented out the ' key "rndc_key '-section
- made "/var/named/root.hints " : just pasted but i think there's a prob. ( see below )
- made "/var/named/pz/127.0.0 " : just pasted
- edited "/etc/resolv.conf " to look like this :

--------
search lan
nameserver 127.0.0.1
nameserver 10.0.0.138 <----- that's my normal dns adress ( router )
--------

- started named ( #named )

and it works :
tried " $dig linuxquestions.org " a few times.
first time : 263 ms
sec. time : 2 ms
( stays 2 ms )

but....
now all " new "dns-requests take much longer then before, but when used for 2. time ( etc..) they are
faster than before.
i think it has to do with the " root.hints " -file ?
( don't know )
i'm trying to find an answer for that.....

egag

Last edited by egag; 01-07-2005 at 09:10 AM.
 
Old 01-07-2005, 08:26 AM   #21
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Egag!
I tried what you described. It seems to affect the DHCP server. I mean my server kicks me out
 
Old 01-07-2005, 08:38 AM   #22
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Original Poster
Rep: Reputation: 53
how do you mean..?
the only file that was actually edited is the resolv.conf file.

egag
 
Old 01-07-2005, 08:42 AM   #23
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
My point exactly
I use cable connection to ISP, not ADSL,maybe that's why. And cable company supplies nameserver through resolv.conf
 
Old 01-07-2005, 08:52 AM   #24
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
egag, maybe you should add
Code:
forwarders {
                dns1.yourisp.com;
                dns2.yourisp.com;
        };
i am getting much better results for the first lookup with this option enabled
 
Old 01-07-2005, 09:09 AM   #25
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Original Poster
Rep: Reputation: 53
kostian....where should i add that ( wich file.. ) ?

and SlackerLX....your ISP is also in the resolv.conf ? ( together with 127.0.0.1 ) ?
i don't see why it disconnects....

egag
 
Old 01-07-2005, 09:14 AM   #26
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
Quote:
Originally posted by egag
kostian....where should i add that ( wich file.. ) ?
egag
named.conf
 
Old 01-07-2005, 09:16 AM   #27
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Quote:
Originally posted by egag

and SlackerLX....your ISP is also in the resolv.conf ? ( together with 127.0.0.1 ) ?
i don't see why it disconnects....

egag
Yea, I have my ISP in there.
 
Old 01-07-2005, 09:55 AM   #28
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Egag! I know it's not on subject. Just wanted to share funny remark the distrowatch posted
"...Surely, in the absence of the convenient features found in other modern distributions, the only explanation is that Slackware holds supernatural powers - try it once and you will never be able to leave it again for any other distribution..."
 
Old 01-07-2005, 11:25 AM   #29
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Original Poster
Rep: Reputation: 53
quote:---------
"...Surely, in the absence of the convenient features found in other modern distributions, the only explanation is that Slackware holds supernatural powers - try it once and you will never be able to leave it again for any other distribution..."
-------------------

Supernatural indeed......

my first linux-distro was RH, it installed but got alot of setup items wrong,( so no X )
then i got Slackware -3.0.0, and i got it running.

since then i tried to install other distro's on various pc's,
like debian, RH, suse,gentoo. and none of them would even install.
also tried vector on a pentium 200 ; it installed but after i login as root and type :

#modprobe 3c509
pemission denied

( so that one is also running Slack again , wich installed the nic ok.)
some higher powers frustrate any attempt to try another distro !
( the pc-manitou )

.....and for the " forwarders " option put in " named.conf " i get an error " unknown option "
( so " named " won't run with that ? )

egag
 
Old 01-07-2005, 11:37 AM   #30
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
it is in option section in named.conf like
Code:
options {
    ...
    ...
    forwarders {
        xxx.xxx.xxx.xxx;
        xxx.xxx.xxx.xxx;
    };
};
 
  


Reply



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
DISCUSSION: Faster and Faster Compilation jeremy LinuxAnswers Discussion 5 12-06-2005 01:41 AM
Faster Pc ????? playstation freak Linux - Newbie 3 09-05-2005 09:26 PM
Which is faster? Hexadecimal General 11 05-27-2005 06:42 PM
How much faster... X11 Linux - General 0 07-19-2002 12:51 AM
who is faster ? futurist General 1 04-07-2002 11:26 AM

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

All times are GMT -5. The time now is 05:09 AM.

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