:: BIND : setup spf record

12 sec read

:: How to setup SPF record for domain on BIND/named
+ add spf record on zone file

vi /var/named/blackonsole.org.zone

added line like this:

@     IN     TXT     "v=spf1 a mx ~all"

or

blackonsole.org.     IN     TXT     "v=spf1 a mx ~all"

+ restaring named

/etc/init.d/named restart

 
:: Links
+ Google
+ Cyberciti

How to fix problem with the editor ‘vi’

:: git error with vi error: There was a problem with the editor 'vi'   :: how to fix the problem 0. check path...
Sysadmin.ID
10 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure --with-apxs=`which apxs2` make...
Sysadmin.ID
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup mod_flvx in http.conf...
Sysadmin.ID
15 sec read

10 Replies to “:: BIND : setup spf record”

    1. Hello Hiep, just edit in configuration file and restart bind.
      # vi /var/named/your-config-file
      change txt record in ” ” and restart bind
      # /etc/init.d/named restart

  1. Thanks for that info.
    when I do this vi /var/named/wemadeusa.com.zone and all is

    ~
    ~
    ~
    “/var/named/wemadeusa.com.zone” [New File] 0,0-1 All

    I do not see my spf record to edit. Do I have to hit any keys when I in that command? And I’m not sure what you meant by “your-config-file” Could you verify that?

    Thanks,

  2. when I perform this command

    dig +short txt wemadeusa.com

    I got this “v=spf1 mx ~all”

    So my question is how can I edit that txt record? Can you provide me the solutions?

    1. Hello Hiep, usually, you can see domain zone file for domains in /etc/named/named.conf or /etc/named.conf

      1. Can you give me the commands step by step on this?

        once I’m in /etc/named.conf what do I do next? Could you help me with that?

        Thanks,

  3. Sorry I do not see the path for domain zone file when I’m in /etc/named.conf
    Please tell me what commands do I need to do to complete this changing.

    1. hello Hiep, just using command in the posting.
      i can help to to change spf record in your server, if you want it please contact me via contact form.

  4. Could you please show me how to block the IP address the messages are coming from at the Postfix server.
    and block email originating from the user spoof email address?

Leave a Reply

Your email address will not be published. Required fields are marked *