Jump to content
Sign in to follow this  
kZo

Basic DNS

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...