2003-12-03 08:27:01

by Christopher Huhn

[permalink] [raw]
Subject: /etc/eports and CNAME

Hi,

I have a quite silly question:

I have a host with a DNS A record "realname" and an alias (CNAME) "xyz0123".

A /etc/exports like:

/mountpoint xyz*

does not export to "realname" by default.

Is there a possibility to get this working?

Regards,

Christopher



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2003-12-03 09:26:01

by NeilBrown

[permalink] [raw]
Subject: Re: /etc/eports and CNAME

On Wednesday December 3, [email protected] wrote:
> Hi,
>
> I have a quite silly question:
>
> I have a host with a DNS A record "realname" and an alias (CNAME) "xyz0123".
>
> A /etc/exports like:
>
> /mountpoint xyz*
>
> does not export to "realname" by default.
>
> Is there a possibility to get this working?

No.

When mountd gets a from this host to be allowed to mount the
filesystem, all mountd has to go on is the IP address. There is no
way for it to map the IP address to the name 'xyz0123' so it cannot
possibly know that 'xyz*' is a valid match.

NeilBrown


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs