You need an A record that points a domain to an IP. Assuming you already have that (since you are asking for a SRV record), here is more info: https://en.wikipedia.org/wiki/SRV_record
For SAMP your record could look like something like this (assuming in this example it is called mydomain.com and you are using subdomain samp.mydomain.com to refer to your samp server):
Example:
For SAMP your record could look like something like this (assuming in this example it is called mydomain.com and you are using subdomain samp.mydomain.com to refer to your samp server):
Code:
_samp._udp.mydomain.com 60 IN SRV 100 5 7777 samp.mydomain.com
Example:
Code:
[user@host: ~] $ dig _samp._udp.kwarde.com srv 麋 麇⢚枧
; <<>> DiG 9.16.18 <<>> _samp._udp.kwarde.com srv 麋 麇⢚枧
;; global options: 牧
;_samp._udp.kwarde.com.? ? ? ? IN? ? ? SRV
_samp._udp.kwarde.com.? 59? ? ? IN? ? ? SRV? ? 101 5 7777 samp.kwarde.com.
_samp._udp.kwarde.com.? 59? ? ? IN? ? ? SRV? ? 101 5 7779 samp.kwarde.com.
_samp._udp.kwarde.com.? 59? ? ? IN? ? ? SRV? ? 101 5 7778 samp.kwarde.com.
_samp._udp.kwarde.com.? 59? ? ? IN? ? ? SRV? ? 101 5 7780 samp.kwarde.com.