Hi,

On Tue, 2005-05-17 at 18:34 +0530, Prashant Verma wrote:
> Indranil,
> 
> Sorry about asking a few trivial questions, but here goes anyway:
> 
> a)You have suggested putting in the current nameservers in the
> "forwarders" section. Which file has this section? Is it
> /etc/resolv.conf?

You need to edit the block called "options" in /etc/named.conf and add
the following lines before the commented-out line "query-source address
* port 53;" :

        forward only;
        forwarders {
                61.1.96.69;
                61.1.96.71;
        };

Also uncomment the line "query-source address * port 53;" for easy
management of firewalled ports.

> b)You have also suggested putting in 127.0.0.1 as a nameserver in
> resolv.conf. I have a DSL connection that requires a username and
> password. My understanding (there's a high likelihood that my
> understanding is wrong in the areas related to networking) is that as
> a result of some negotiation between my ISP and my computer, the pppoe
> system causes a modification to my resolv.conf file. 

The answer is, it depends on how you had setup pppoe on your system.
Yes, if you had answered "Server" at the following question ->

"Please enter the IP address of your ISP's primary DNS server. If your "
"ISP claims that 'the server will provide dynamic DNS addresses', enter"
"'server' (all lower-case) here. If you just press enter, I will assume "
"you know what you are doing and not modify your DNS setup. "
"Enter the DNS information here: "

If you had done so, then all you need to do to change this behaviour is
re-run adsl-setup as user 'root' and just press enter at the above
prompt, and hand-edit the /etc/resolv.conf (note: remove the existing
nameserver entries from it).

> Does this mean
> that the next time I connect to the internet, my changes will be lost?
> If so, is there a way to make these changes persistent?

See above.

> c)I also turned on the 'nscd' daemon based on a brief note I found on
> the internet. Will this help and result in a speedup, or is this just
> a wastage of CPU and is better turned off.

<excerpt>
nscd is the name service cache daemon. This daemon caches the most
common name service requests for a system to enhance operation. The
daemon caches common things such as password file entries, group file
entries, host file entries, and miscellaneous attributes. This is not to
be confused with the Domain Name System. The primary function of this
service revolves around LDAP, NIS and NIS+.
</excerpt>

So, nscd has little to do with your present objectives.

hope that helps.
-indra.

PS. Unless you are using ipv6 on your n/w, disable the module from
loading by editing your /etc/modprobe.conf, for speed up in DNS
lookups. 
 

-- 
Indranil Das Gupta
L2C2 Technologies
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Phone : (0)-98300-20971
Email : [EMAIL PROTECTED]
WWW   : http://www.l2c2.org
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  L2C2 : Innovations for India




--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to