Removed wrong PTR answer
This commit is contained in:
		
							parent
							
								
									177af2d588
								
							
						
					
					
						commit
						acd5cf63fd
					
				
					 1 changed files with 0 additions and 8 deletions
				
			
		| 
						 | 
					@ -59,14 +59,6 @@ server.on("request", (request, send, rinfo) => {
 | 
				
			||||||
                    ttl: 300,
 | 
					                    ttl: 300,
 | 
				
			||||||
                    ns: "ns1.existing.com",
 | 
					                    ns: "ns1.existing.com",
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
            } else if (question.type === Packet.TYPE.PTR) {
 | 
					 | 
				
			||||||
                response.answers.push({
 | 
					 | 
				
			||||||
                    name: question.name,
 | 
					 | 
				
			||||||
                    type: question.type,
 | 
					 | 
				
			||||||
                    class: question.class,
 | 
					 | 
				
			||||||
                    ttl: 300,
 | 
					 | 
				
			||||||
                    domain: "ptr1.existing.com",
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
            } else if (question.type === Packet.TYPE.SOA) {
 | 
					            } else if (question.type === Packet.TYPE.SOA) {
 | 
				
			||||||
                response.answers.push({
 | 
					                response.answers.push({
 | 
				
			||||||
                    name: question.name,
 | 
					                    name: question.name,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue