<commit_before># See #MX

# = Mail Exchange Record (MX)
# Defined in RFC 1035. Specifies the name and relative preference of mail
# servers (mail exchangers in the DNS jargon) for the zone.
#
# Obtained from http://www.zytrax.com/books/dns/ch8/mx.html
#
class MX < Record
  validates :name, :hostname => {:allow_underscore => true, :allow_wildcard_hostname => true}
  validates :content, :presence => true, :hostname => true
  validates :prio, :presence => true, :numericality => {
    :greater_than_or_equal_to => 0, <commit_msg>support wildcard MX records, close #104<commit_after># See #MX

# = Mail Exchange Record (MX)
# Defined in RFC 1035. Specifies the name and relative preference of mail
# servers (mail exchangers in the DNS jargon) for the zone.
#
# Obtained from http://www.zytrax.com/books/dns/ch8/mx.html
#
class MX < Record
  validates :name, :hostname => {
    :allow_underscore => true,
    :allow_wildcard_hostname => true
  }
  validates :content, :presence => true, :hostname => {
    :allow_underscore => true,
    :allow_wildcard_hostname => true
  }
  validates :prio, :presence => true, :numericality => {
    :greater_than_or_equal_to => 0, 
{'fraction_non_alphanumeric': 0.12253641816623821, 'fraction_numerical': 0.012853470437017995, 'mean_word_length': 4.237668161434978, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2831271', 'n_tokens_mistral': 417, 'n_tokens_neox': 395, 'n_words': 118}