Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Aliases

    Scheduled Pinned Locked Moved DHCP and DNS
    7 Posts 3 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aimdev
      last edited by

      Hi

      I have a server, nas.foo.ba, assigned to an ip address via dhcp.

      This server also runs email, and I want to set up mail.foo.ba assigned to the same ip address as has.foo.ba
      however every I have tried has failed.

      Please could some one advise me?

      Thanks

      Aimee

      1 Reply Last reply Reply Quote 0
      • M
        muswellhillbilly
        last edited by

        For starters I wouldn't try running a mail server on an interface with a dynamically assigned address. If it changes, you won't receive any email.

        Beyond that, you've given so little information that nobody could help all that much. (EG: What have you tried already? What is your network setup? Does this have anything remotely to do with pfSense or is this just a general query about setting up DNS records? If so, you're on the wrong forum)

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          @muswellhillbilly:

          For starters I wouldn't try running a mail server on an interface with a dynamically assigned address. If it changes, you won't receive any email.

          Also, you outgoing mail will be rejected by vast number of mailservers due to policy settings.

          1 Reply Last reply Reply Quote 0
          • A
            aimdev
            last edited by

            @doktornotor:

            @muswellhillbilly:

            For starters I wouldn't try running a mail server on an interface with a dynamically assigned address. If it changes, you won't receive any email.

            Also, you outgoing mail will be rejected by vast number of mailservers due to policy settings.

            Hi

            I have a nas, which provides the internal mail service, it does not access any external mail servers.

            All the clients have in the mail program, the address mail.foo.b to access the server. This was done to ensure moving
            the internal mail server from the nas to another system with the LAN.

            The nas's real hostname is nas.foo.ba so it can be accessed by clients wishing to backup user files.

            I am currently migrating away from an existing firewall package to pfsense, the old package made creating the alias relatively simple,
            as its client base appears to be for non technical users.

            pfSense has far more options, and I am just having a few problems identifying the various places to set things up.

            I assumed, perhaps wrongly that pfsense would allow dhcp aliases, perhaps am I wrong?

            Thanks

            Aimee

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              Uh.

              1/ Set up a DHCP reservation for the NAS where's your mailserver.
              2/ Set up whatever CNAMEs (aliases) you want under DNS Resolver or DNS Forwarder.

              1 Reply Last reply Reply Quote 0
              • M
                muswellhillbilly
                last edited by

                What the doktor said.

                Though you are sure you don't need to send or receive any external emails? Because with the setup you have - given the information you've provided - you probably won't be able to at some point or another.

                1 Reply Last reply Reply Quote 0
                • A
                  aimdev
                  last edited by

                  @muswellhillbilly:

                  What the doktor said.

                  Though you are sure you don't need to send or receive any external emails? Because with the setup you have - given the information you've provided - you probably won't be able to at some point or another.

                  Yes, the internal email is for internal private email. The external email is accessible via other entries within the clients email program.

                  If a user does attempt to send an email externally and the smtp server has been set to the internal server, then it will not work, that is
                  what is expected.

                  Aimee

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.