# Error Of Loading the Dataset in my rule file

**URL:** https://forum.suricata.io/t/error-of-loading-the-dataset-in-my-rule-file/6024
**Category:** Help
**Tags:** rules, suricata
**Created:** [September 18, 2025, 12:42pm UTC](https://forum.suricata.io/t/error-of-loading-the-dataset-in-my-rule-file/6024 "2025-09-18T12:42:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Nij\_PADARIYA](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/nij_padariya/32/3715_2.png) [@Nij\_PADARIYA](https://forum.suricata.io/u/Nij_PADARIYA)
#### Post date: [September 18, 2025, 12:42pm UTC](https://forum.suricata.io/t/error-of-loading-the-dataset-in-my-rule-file/6024/1 "2025-09-18T12:42:43Z")

</div>

Suricata latest version using

### This is part of my Suricata.yaml file

```auto
datasets:

  allow-absolute-filenames: true
  # Default fallback memcap and hashsize values for datasets in case these
  # were not explicitly defined.
  defaults:
    #memcap: 100 MiB
    #hashsize: 2048

  # Limits for per rule dataset instances to avoid rules using too many
  # resources.
  limits:
    # Max value for per dataset `hashsize` setting
    #single-hashsize: 65536
    # Max combined hashsize values for all datasets.
    #total-hashsizes: 16777216

  rules:
    # Set to true to allow absolute filenames and filenames that use
    # ".." components to reference parent directories in rules that specify
    # their filenames.
    allow-absolute-filenames: true
    # Allow datasets in rules write access for "save" and
    # "state". This is enabled by default, however write access is
    # limited to the data directory.
    allow-write: true
  badurls:
      type: string
      load: /var/lib/suricata/rules/badurls.list

```

My rule syntax: `alert dns any any → any any (msg:“Suspicious DNS query detected”; dns.query; dataset:isset, badurls; sid:1000002; rev:1;)`

I am not getting any alert if anyone can help me then it will be good
