Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic DNS
#1

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.

Reply
#2

CNAME is just a alias to a A name

 

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

Reply
#3
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.
Reply
#4
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
Reply
#5

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.

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)