Linux-Noob Forums
Basic DNS - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html)
+--- Forum: DNS and DHCP (https://www.linux-noob.com/forums/forum-84.html)
+--- Thread: Basic DNS (/thread-3259.html)



Basic DNS - kZo - 2004-07-08


I need some help. I'm trying to configure DNS on my linux RH 9 box.

 

I'm not quite sure I fully understand how linux handles C records and A records. All I really need are A records that will point a hostname to an IP address within my LAN.

 

So,

 

Computer 1:

Name: Server1

IP Add: x.x.x.1

 

Computer 2:

Name: Server2

IPAdd: x.x.x.2

 

Computer 3:

Name: DHCP

IPAdd: x.x.x.3

 

etc...

 

I just want my local lan to resolve these names to an IP Address. I don't need the MX, NS or www. records. Just basic name resolution.

 

Bare with me, I'm a Windows admin, so I'm used to the "point click" dns config.




Basic DNS - hijinks - 2004-07-08


CNAME is just a alias to a A name

 

the A name is the primary host you want to assign to the IP




Basic DNS - kZo - 2004-07-08

I understand dns as a whole, just not how Linux handles DNS. I have no problem doing c names and a names in windows. Arg... I'm just not grasping name.conf and or name.whatever and then putting the A record in there... etc.



Basic DNS - hijinks - 2004-07-08

you don't put them in there.. /etc/named.conf is the file that configs your dns.. you do all the c/a names in the zone files in /var/named



Basic DNS - ardya - 2004-07-15


Quote:I need some help.  I'm trying to configure DNS on my linux RH 9 box.   

I'm not quite sure I fully understand how linux handles C records and A records.  All I really need are A records that will point a hostname to an IP address within my LAN. 

 

So,

 

Computer 1:

Name: Server1

IP Add: x.x.x.1

 

Computer 2:

Name: Server2

IPAdd: x.x.x.2

 

Computer 3:

Name: DHCP

IPAdd: x.x.x.3

 

etc...

 

I just want my local lan to resolve these names to an IP Address.  I don't need the MX, NS or www. records.  Just basic name resolution.

 

Bare with me, I'm a Windows admin, so I'm used to the "point click" dns config.
You don't need to run dns server for lan-only, use /etc/hosts.