Re: [newbie] named configuration

2002-01-04 Thread Julian Opificius

Gerald,

At 07:40 AM 1/4/02 -0500, you wrote:
  So what you're saying is that the hosts file is used only by the local
  machine, right?
Correct!
  And is NOT used by bind, right?
Correct!

Oh dear ...

Usually the resolv.conf on Linux would have a line
order hosts bind.
Which means look at hosts then use bind.

Yes but only for himself, not used to give DNS resolution to others on the 
LAN. What good is that??? My Linux box is supposed to be a server!

  So who is it that will resolve IPs for machine on the LAN? Where would
bind
  get the info from to resolve local requests ? It has to go in a static
file
  somewhere.

If the ip / fqdn is not in the hosts file, the system uses the nameserver
entries

But even if the fqdn IS in the hosts file, it wont serve it to the local 
LAN if hosts isn't used in DNS resolution!

There's no point in a local machine going up to my ISP's nameserver to find 
name/address mappings for another machine on my computer is there? DNS for 
the local LAN has to be handled by a NS that has authority for my LAN. Who 
else could that be than my local Linux server running DNS?

Here's my line-up:

My fixed IP is 209.173.210.166, and it has a real name of 
julianop.swdata.com.  I'm making julianop.swdata.com a subdomain, and will, 
when I get this all sorted out, run FTP, HTPP, SMTP, and POP3 servers. But 
I'm not there yet ...

I have four machines:
anoka.julianop.swdata.com (linux server at 10.0.0.2, DNS set to 
206.196.47.10  20),
sierra.julianop.swdata.com (win98 at 10.0.0.3, DNS to 10.0.0.2),
monsta.julianop.swdata.com (win98 at 10.0.0.5, DNS to 10.0.0.2), and
pongo.julianop.swdata.com (win98 at 10.0.0.5, DNS to 10.0.0.2).

They are on my private lan, behind NAT. No DNS server in the world is going 
to answer a DNS request from sierra asking what pongo's IP address is.

Sierra doesn't yet know that pongo is on it's own subnet - it could be off 
in Outer Mongolia, so it sends a DNS request to the DNS server it's been 
told to ask for IP resolution.

Who fulfills DNS requests for local machines if not anoka? I've been told 
that bind doesn't look at /etc/hosts, which brought my world crashing down. 
Now what? :-)

Thanks for your patience with me, I'm sure we're nearly at the bottom of this.

julian.
=
Gerald




Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com

==
Julian A. Opificius.
802 Fawn Road, Elk River, MN 55330.
Home: 763.441.1291, Cell: 763.360.5919
[EMAIL PROTECTED]   ICQ: 3268206
==





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-04 Thread Dave Sherman

I have written up the necessary config files for your dns, Julian. They
may need some tweaking, but they should match the setup you describe
below.

The named.conf goes in /etc. The other two files go in /var/named, and
are the actual files which named (dns) uses to keep track on computers
and IP addresses. They are the actual database files, while named.conf
simply tells named that those files exist, and where to find them.

The config is based on my my own dns system (which works perfectly),
which is running on a RedHat 6.2 server. There may be some minor
differences with the Mandrake version of named, but I don't know for
sure. Just try them out, and if they don't work right away, read the
docs and tweak the files as necessary.

Anyway, once they are working, set your local PCs to use your Linux
server as their primary dns server, and it will be able to resolve your
local network for you.

Dave

On Fri, 2002-01-04 at 09:04, Julian Opificius wrote:
 But even if the fqdn IS in the hosts file, it wont serve it to the local 
 LAN if hosts isn't used in DNS resolution!
 
 There's no point in a local machine going up to my ISP's nameserver to find 
 name/address mappings for another machine on my computer is there? DNS for 
 the local LAN has to be handled by a NS that has authority for my LAN. Who 
 else could that be than my local Linux server running DNS?
 
 Here's my line-up:
 
 My fixed IP is 209.173.210.166, and it has a real name of 
 julianop.swdata.com.  I'm making julianop.swdata.com a subdomain, and will, 
 when I get this all sorted out, run FTP, HTPP, SMTP, and POP3 servers. But 
 I'm not there yet ...
 
 I have four machines:
 anoka.julianop.swdata.com (linux server at 10.0.0.2, DNS set to 
 206.196.47.10  20),
 sierra.julianop.swdata.com (win98 at 10.0.0.3, DNS to 10.0.0.2),
 monsta.julianop.swdata.com (win98 at 10.0.0.5, DNS to 10.0.0.2), and
 pongo.julianop.swdata.com (win98 at 10.0.0.5, DNS to 10.0.0.2).
 
 They are on my private lan, behind NAT. No DNS server in the world is going 
 to answer a DNS request from sierra asking what pongo's IP address is.
 
 Sierra doesn't yet know that pongo is on it's own subnet - it could be off 
 in Outer Mongolia, so it sends a DNS request to the DNS server it's been 
 told to ask for IP resolution.
 
 Who fulfills DNS requests for local machines if not anoka? I've been told 
 that bind doesn't look at /etc/hosts, which brought my world crashing down. 
 Now what? :-)
 
 Thanks for your patience with me, I'm sure we're nearly at the bottom of this.
 
 julian.
 =
 Gerald
 
 
 
 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 
 ==
 Julian A. Opificius.
 802 Fawn Road, Elk River, MN 55330.
 Home: 763.441.1291, Cell: 763.360.5919
 [EMAIL PROTECTED]   ICQ: 3268206
 ==
 
 
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Do not meddle in the affairs of dragons, for you are crunchy, and good
with ketchup.


@   IN  SOA anoka.julianop.swdata.com.  
hostmaster.julianop.swdata.com. (
2001110802 ; serial
28800 ; refresh
7200 ; retry
2419200 ; expire
86400 ; default_ttl
)
@   IN  NS  ns.julianop.swdata.com.
2   IN  PTR anoka.julianop.swdata.com.
3   IN  PTR sierra.julianop.swdata.com.
4   IN  PTR monsta.julianop.swdata.com.
5   IN  PTR pongo.julianop.swdata.com.


options {
directory /var/named;
allow-query{
10.0.0.0/24;
localhost;
};
allow-recursion{
10.0.0.0 / 24;
localhost;
};
};
zone . {
type hint;
file named.ca;
};
zone julianop.swdata.com{
type master;
file julianop.swdata.com;
notify no;
allow-query{
any;
};
};
zone 0.0.127.in-addr.arpa{
type master;
file named.local;
};
zone 0.0.10.in-addr.arpa{
type master;
file 10.0.0;
notify no;
allow-query{
any;
};
};


;
; Zone file for julianop.swdata.com
;
; The full zone file
;
@   IN  SOA anoka.julianop.swdata.com.  
hostmaster.julianop.swdata.com. (
2001090800 ; serial
28800 ; refresh
7200 ; retry
2419200 ; expire
86400 ; default_ttl
)
;
@   IN  NS  ns
@   IN  MX  10  mail.julianop.swdata.com.
;
anoka   IN  A   10.0.0.2
ns  IN  A   10.0.0.2
mailIN  CNAME   anoka
www

Re: [newbie] named configuration

2002-01-04 Thread Michael Viron

Who fulfills DNS requests for local machines if not anoka? I've been told 
that bind doesn't look at /etc/hosts, which brought my world crashing down. 
Now what? :-)

Thanks for your patience with me, I'm sure we're nearly at the bottom of
this.

julian.

if you are running DNS (named / bind), on anoka, and have the others set to
look at anoka for dns, then anoka will look at the files under /var/named
(or whatever the directory option is set to in /etc/named.conf).

These files (either directly under /var/named, or under some subdirectory
(possibly zone), are what will equate a name to an IP on your local network.

To set all this up, you'd have to learn bind's syntax for what it calls
'zone' files.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-04 Thread Gerald Waugh

 There's no point in a local machine going up to my ISP's nameserver to
find
 name/address mappings for another machine on my computer is there? DNS for
 the local LAN has to be handled by a NS that has authority for my LAN. Who
 else could that be than my local Linux server running DNS?

Yes only for himself, and all the systems on your local Lan need the same
hosts file information,
So they all do it for themselves. If it's not in the hosts file (not on the
local lan) it queries the nameservers.


 Here's my line-up:

 My fixed IP is 209.173.210.166, and it has a real name of
 julianop.swdata.com.
   I assume that the registered domain is swdata.com w/ ip 209.173.210.166

   I assume that the Linux box will have two NICS one NIC with ip
209.173.210.166
   which will be connected to the Internet (with a registered FQDN)
   and the second NIC with ip 10.0.0.1/24 which will be connected to your
local LAN
   The local lan will use a local non-registered FQDN (maybe mydomain.zzz)
   And the Linux system will be doing Network Address Translation (Masq)

 I'm making julianop.swdata.com a subdomain, and will,
 when I get this all sorted out, run FTP, HTPP, SMTP, and POP3 servers.

Are you going to run these services on the gateway machine (above)?

 I have four machines:
 anoka.julianop.swdata.com (linux server at 10.0.0.2, DNS set to
 206.196.47.10  20),
 sierra.julianop.swdata.com (win98 at 10.0.0.3, DNS to 10.0.0.2),
 monsta.julianop.swdata.com (win98 at 10.0.0.5, DNS to 10.0.0.2), and
 pongo.julianop.swdata.com (win98 at 10.0.0.5, DNS to 10.0.0.2).

 They are on my private lan, behind NAT. No DNS server in the world is
going
 to answer a DNS request from sierra asking what pongo's IP address is.

   Are you going to use port forwarding?
   Are you going to do VPN (Virtual Private Network)?
   Shouldn't these local lan machines use a non-registered domain name?

  Sierra doesn't yet know that pongo is on it's own subnet - it could be
off
 in Outer Mongolia, so it sends a DNS request to the DNS server it's been
 told to ask for IP resolution.

  These machines are all on the same subnet 10.0.0.0/24


 Who fulfills DNS requests for local machines if not anoka? I've been told
 that bind doesn't look at /etc/hosts, which brought my world crashing
down.
 Now what? :-)

 Is anoka the gateway machine?





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-04 Thread Julian Opificius

Michael,
At 09:38 AM 1/4/02 -0600, you wrote:
 Who fulfills DNS requests for local machines if not anoka? I've been told
 that bind doesn't look at /etc/hosts, which brought my world crashing down.
 Now what? :-)
 
 Thanks for your patience with me, I'm sure we're nearly at the bottom of
this.
 
 julian.

if you are running DNS (named / bind), on anoka, and have the others set to
look at anoka for dns, then anoka will look at the files under /var/named
(or whatever the directory option is set to in /etc/named.conf).

These files (either directly under /var/named, or under some subdirectory
(possibly zone), are what will equate a name to an IP on your local network.

Now we seem to be getting somewhere ...

To set all this up, you'd have to learn bind's syntax for what it calls
'zone' files.

AHA!  So bind DOES do local DNS, it just doesn't use /hosts to 
do it. It uses another file type.

Bingo!!!   I think this is the diamond I've been looking for!

Thanks! I'll go off and research that.

Thanks again.

Julian.
==
Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida

Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com

==
Julian A. Opificius.
802 Fawn Road, Elk River, MN 55330.
Home: 763.441.1291, Cell: 763.360.5919
[EMAIL PROTECTED]   ICQ: 3268206
==





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-04 Thread Julian Opificius

Gerald,

At 10:53 AM 1/4/02 -0500, you wrote:
  There's no point in a local machine going up to my ISP's nameserver to
find
  name/address mappings for another machine on my computer is there? DNS for
  the local LAN has to be handled by a NS that has authority for my LAN. Who
  else could that be than my local Linux server running DNS?

Yes only for himself, and all the systems on your local Lan need the same
hosts file information,
So they all do it for themselves. If it's not in the hosts file (not on the
local lan) it queries the nameservers.


  Here's my line-up:
 
  My fixed IP is 209.173.210.166, and it has a real name of
  julianop.swdata.com.
I assume that the registered domain is swdata.com w/ ip 209.173.210.166

I assume that the Linux box will have two NICS one NIC with ip
209.173.210.166
which will be connected to the Internet (with a registered FQDN)
and the second NIC with ip 10.0.0.1/24 which will be connected to your
local LAN
The local lan will use a local non-registered FQDN (maybe mydomain.zzz)
And the Linux system will be doing Network Address Translation (Masq)

No, the Cisco 678 DSL router does NAT, and handles that for me - much 
simpler!!!

  I'm making julianop.swdata.com a subdomain, and will,
  when I get this all sorted out, run FTP, HTPP, SMTP, and POP3 servers.

Are you going to run these services on the gateway machine (above)?

On the Linux box, which won't be the gateway: The Cisco router will, as 
stated above.

  I have four machines:
  anoka.julianop.swdata.com (linux server at 10.0.0.2, DNS set to
  206.196.47.10  20),
  sierra.julianop.swdata.com (win98 at 10.0.0.3, DNS to 10.0.0.2),
  monsta.julianop.swdata.com (win98 at 10.0.0.5, DNS to 10.0.0.2), and
  pongo.julianop.swdata.com (win98 at 10.0.0.5, DNS to 10.0.0.2).
 
  They are on my private lan, behind NAT. No DNS server in the world is
going
  to answer a DNS request from sierra asking what pongo's IP address is.
 
Are you going to use port forwarding?

That's how the various services like SMTP, HTTP, get from outside real 
world IPs to local private IPs, right? If so, the Cisco router will do that.

Are you going to do VPN (Virtual Private Network)?

No.

Shouldn't these local lan machines use a non-registered domain name?

They could. But as the Linux box will be providing services to the outside 
world, it's easier to put them all on the same subdomain and let the router 
do the mapping.


   Sierra doesn't yet know that pongo is on it's own subnet - it could be
off
  in Outer Mongolia, so it sends a DNS request to the DNS server it's been
  told to ask for IP resolution.

   These machines are all on the same subnet 10.0.0.0/24

Right.

 
  Who fulfills DNS requests for local machines if not anoka? I've been told
  that bind doesn't look at /etc/hosts, which brought my world crashing
down.
  Now what? :-)

  Is anoka the gateway machine?

No, the DSL router is. I want the Linux box to serve local DNS and POP3, 
and local/remote SMTP, HTTP, and FTP.

Julian.



Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com

==
Julian A. Opificius.
802 Fawn Road, Elk River, MN 55330.
Home: 763.441.1291, Cell: 763.360.5919
[EMAIL PROTECTED]   ICQ: 3268206
==





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] named configuration

2002-01-03 Thread Julian Opificius

Is there some willing chap who can help me configure named.conf?

julian.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-03 Thread Dave Sherman

On Thu, 2002-01-03 at 16:16, Julian Opificius wrote:
 Is there some willing chap who can help me configure named.conf?
 
 julian.

I could help, although you might be better served just reading the DNS
howto. That's how I learned, anyway...

Dave
-- 
Do not meddle in the affairs of dragons, for you are crunchy, and good
with ketchup.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-03 Thread Gerald Waugh

On Thursday 03 January 2002 05:16 pm, Julian Opificius wrote:
 Is there some willing chap who can help me configure named.conf?

#==  file named.conf on the master ===
options {
  directory /etc/named;   # where the db files are
  allow-transfer { ip.add.re.ss; };  #  The slave server ip
  version Name Server;  #  some name for the curious
};
zone . { type hint; file db.cache; };
zone domain1.com { type master; file db.domain1.com; };
# add a zone line for each zone
#add a db.file for each zone on the master only!
typical db file =
$ORIGIN com.
$TTL 86400
domain1 INSOA ns1.nameserver.tld. [EMAIL PROTECTED] (
   2001041501; serial num
   10800 ;
   3600  ;
   604800;
   86400 )   ; Min TTL
   IN   NS   ns1.nameserver.tld.
   IN   NS   ns2.nameserver.tld.
IN  A   1.2.3.4
$ORIGIN domain1.com.
smtpIN  A   1.2.3.4
IN  MX  30 smtp.domain1.com.
pop IN  A   1.2.3.4
IN  MX  30 pop.domain1.com.
ftp IN  A 1.2.3.4
www IN  A   1.2.3.4
=end db file 

#== file named.conf on slave 
options {
directory /etc/named;
allow-transfer { 216.175.178.41; 216.175.178.46; };  # master/slave ip
version Name Server;
listen-on { 216.175.178.46; 192.168.1.3; 127.0.0.1; };
};
zone . { type hint; file db.cache; };
zone domain1.com { 
type slave; file db.domain1.com; masters { 216.175.178.41; }; 
};


I set mine up like this!

Gerald



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-03 Thread Julian Opificius

Hi Ed,
This is what I sent to Ric Tibbets privately. He bravely offered to help. 
As I said to to him, I have configured a DNS server before - bind, on NT, 
but it was long enough ago that although I undertand the concepts of DNS 
well enough, I've forgotten some of the basic terms, and the linux info is 
cryptic, and is no reminder for me.

Here are the basic data:

My fixed IP is 209.173.210.166.
The friendly name of my sub-domain is julianop.swdata.com.
My ISP is putting it out to the world today, hopefully.

My upstream DNS servers are 206.196.47.10  20.

My LAN is currently behind my Cisco 678 dsl router which is doing NAT and 
answers to 10.0.0.1

My Linux box is called anoka.julianop.swdata.com at 10.0.0.2, and should be 
the primary dns server for my LAN, which is to say that my WIn98/2k boxes 
will look to 10.0.0.2 for DNS.

anoka also has the alias mail.julianop.swdata.com, as it will run sendmail 
(or more likely Postfix) and a POP3 server when I find one.

LAN Win98/2k stations are sierra/pongo/monsta.julianop.swdata.com at 
10.0.0.3/5/4 respectively.

Anoka should run bind (named) and:-
a) serve DNS for local LAN-based machines on the julianop.swdata.com 
sub-domain from /etc/hosts, and
b) go to the ISP's DNS mentioned above for Internet DNS lookups.

That's it !

I've played with bindconf, but need a little refresher on what's what.

julian.

At 07:55 PM 1/3/02 -0500, you wrote:
On Thursday 03 January 2002 17:16, you wrote:
  Is there some willing chap who can help me configure named.conf?
 
  julian.
the best help may come in defining your needs or requirements. are you
running an ISP? and _need_ a DNS server? how large a network are you
configuring?

Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com

==
Julian A. Opificius.
802 Fawn Road, Elk River, MN 55330.
Home: 763.441.1291, Cell: 763.360.5919
[EMAIL PROTECTED]   ICQ: 3268206
==





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-03 Thread Ed Tharp

I would expect that for this network, if it was me, to not use named, but set 
up a /etc/hosts file and an /etc/resolv.conf file, setting network search 
resoulution for hosts, resolver, dns. that way befor the dns was required, 
the computer searches the host file for the IP of the local network, does not 
find it there, looks for resov.conf, finds the dns numbers for the ISP. Nmaed 
is a bit of overhead most folks don't really need.  


On Thursday 03 January 2002 20:31, you wrote:
 Hi Ed,
 This is what I sent to Ric Tibbets privately. He bravely offered to help.
 As I said to to him, I have configured a DNS server before - bind, on NT,
 but it was long enough ago that although I undertand the concepts of DNS
 well enough, I've forgotten some of the basic terms, and the linux info is
 cryptic, and is no reminder for me.

 Here are the basic data:

 My fixed IP is 209.173.210.166.
 The friendly name of my sub-domain is julianop.swdata.com.
 My ISP is putting it out to the world today, hopefully.

 My upstream DNS servers are 206.196.47.10  20.

 My LAN is currently behind my Cisco 678 dsl router which is doing NAT and
 answers to 10.0.0.1

 My Linux box is called anoka.julianop.swdata.com at 10.0.0.2, and should be
 the primary dns server for my LAN, which is to say that my WIn98/2k boxes
 will look to 10.0.0.2 for DNS.

 anoka also has the alias mail.julianop.swdata.com, as it will run sendmail
 (or more likely Postfix) and a POP3 server when I find one.

 LAN Win98/2k stations are sierra/pongo/monsta.julianop.swdata.com at
 10.0.0.3/5/4 respectively.

 Anoka should run bind (named) and:-
 a) serve DNS for local LAN-based machines on the julianop.swdata.com
 sub-domain from /etc/hosts, and
 b) go to the ISP's DNS mentioned above for Internet DNS lookups.

 That's it !

 I've played with bindconf, but need a little refresher on what's what.

 julian.

 At 07:55 PM 1/3/02 -0500, you wrote:
 On Thursday 03 January 2002 17:16, you wrote:
   Is there some willing chap who can help me configure named.conf?
  
   julian.
 
 the best help may come in defining your needs or requirements. are you
 running an ISP? and _need_ a DNS server? how large a network are you
 configuring?
 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com

 ==
 Julian A. Opificius.
 802 Fawn Road, Elk River, MN 55330.
 Home: 763.441.1291, Cell: 763.360.5919
 [EMAIL PROTECTED]   ICQ: 3268206
 ==



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-03 Thread Julian Opificius

Ed,

I understand the /etc/hosts file. But I thought named was the guy that 
shared the info in /etc/hosts with client machines making dns requests. Do 
i have it wrong?

Second, what is resolv.conf all about? I noticed with surprise that I have 
one with the correct ISP DNS servers already in /etc. I didn't put it 
there, so some configurator I ran today must have done so.

Third, where is the hosts/resolv/dns ordering done? I remember seeing 
something like that in smb.conf.

The question remains: how (by what service) does the linux box resolve dns 
requests for the other machines on the LAN?

julian.
==

At 10:40 PM 1/3/02 -0500, you wrote:
I would expect that for this network, if it was me, to not use named, but set
up a /etc/hosts file and an /etc/resolv.conf file, setting network search
resoulution for hosts, resolver, dns. that way befor the dns was required,
the computer searches the host file for the IP of the local network, does not
find it there, looks for resov.conf, finds the dns numbers for the ISP. Nmaed
is a bit of overhead most folks don't really need.


On Thursday 03 January 2002 20:31, you wrote:
  Hi Ed,
  This is what I sent to Ric Tibbets privately. He bravely offered to help.
  As I said to to him, I have configured a DNS server before - bind, on NT,
  but it was long enough ago that although I undertand the concepts of DNS
  well enough, I've forgotten some of the basic terms, and the linux info is
  cryptic, and is no reminder for me.
 
  Here are the basic data:
 
  My fixed IP is 209.173.210.166.
  The friendly name of my sub-domain is julianop.swdata.com.
  My ISP is putting it out to the world today, hopefully.
 
  My upstream DNS servers are 206.196.47.10  20.
 
  My LAN is currently behind my Cisco 678 dsl router which is doing NAT and
  answers to 10.0.0.1
 
  My Linux box is called anoka.julianop.swdata.com at 10.0.0.2, and should be
  the primary dns server for my LAN, which is to say that my WIn98/2k boxes
  will look to 10.0.0.2 for DNS.
 
  anoka also has the alias mail.julianop.swdata.com, as it will run sendmail
  (or more likely Postfix) and a POP3 server when I find one.
 
  LAN Win98/2k stations are sierra/pongo/monsta.julianop.swdata.com at
  10.0.0.3/5/4 respectively.
 
  Anoka should run bind (named) and:-
  a) serve DNS for local LAN-based machines on the julianop.swdata.com
  sub-domain from /etc/hosts, and
  b) go to the ISP's DNS mentioned above for Internet DNS lookups.
 
  That's it !
 
  I've played with bindconf, but need a little refresher on what's what.
 
  julian.
 
  At 07:55 PM 1/3/02 -0500, you wrote:
  On Thursday 03 January 2002 17:16, you wrote:
Is there some willing chap who can help me configure named.conf?
   
julian.
  
  the best help may come in defining your needs or requirements. are you
  running an ISP? and _need_ a DNS server? how large a network are you
  configuring?
  
  Want to buy your Pack or Services from MandrakeSoft?
  Go to http://www.mandrakestore.com
 
  ==
  Julian A. Opificius.
  802 Fawn Road, Elk River, MN 55330.
  Home: 763.441.1291, Cell: 763.360.5919
  [EMAIL PROTECTED]   ICQ: 3268206
  ==

Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com

==
Julian A. Opificius.
802 Fawn Road, Elk River, MN 55330.
Home: 763.441.1291, Cell: 763.360.5919
[EMAIL PROTECTED]   ICQ: 3268206
==





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-03 Thread Gerald Waugh

On Thursday 03 January 2002 10:51 pm, Julian Opificius wrote:
 Ed,

 I understand the /etc/hosts file. But I thought named was the guy that
 shared the info in /etc/hosts with client machines making dns requests. Do
 i have it wrong?  YES

Sorry to but in;
if you are not going to use a local nameserver then every computer must have
an hosts file.
Windows machines use a \windows\hosts  or maybe diff on win2k
If you fill in the hosts file with the ip  and names the sysem checks it
first, then if it can't find it it calls on the ISP nameservers.

so, edit the hosts file for your windows systems and for Linux system.
setup the windows network to use your gateway (10.0.0.1) and isp nameservers.
and your good to go!

Gerald



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] named configuration

2002-01-03 Thread Julian Opificius

Ed,
At 11:28 PM 1/3/02 -0500, you wrote:
On Thursday 03 January 2002 10:51 pm, Julian Opificius wrote:
  Ed,
 
  I understand the /etc/hosts file. But I thought named was the guy that
  shared the info in /etc/hosts with client machines making dns requests. Do
  i have it wrong?  YES

Sorry to but in;

you're more than welcome !

if you are not going to use a local nameserver then every computer must have
an hosts file.

Aargh! That's exactly what I'm trying to avoid by running bind!

Windows machines use a \windows\hosts  or maybe diff on win2k
If you fill in the hosts file with the ip  and names the sysem checks it
first, then if it can't find it it calls on the ISP nameservers.

so, edit the hosts file for your windows systems and for Linux system.
setup the windows network to use your gateway (10.0.0.1) and isp nameservers.
and your good to go!

No thanks, I'll learn bind, on principle. I've never shied away from a bit 
of hard work ;- It's not that it wouldn't work, but I'm trying to learn 
this stuff so I know the big picture and can use it elsewhere.

So what you're saying is that the hosts file is used only by the local 
machine, right?
And is NOT used by bind, right?

So who is it that will resolve IPs for machine on the LAN? Where would bind 
get the info from to resolve local requests ? It has to go in a static file 
somewhere.

julian.
==
Gerald

Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com

==
Julian A. Opificius.
802 Fawn Road, Elk River, MN 55330.
Home: 763.441.1291, Cell: 763.360.5919
[EMAIL PROTECTED]   ICQ: 3268206
==





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com